main-window: Add default case to switch statement

As caught by compiling with `-Wswitch-default`
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-06-02 20:42:50 +02:00
parent 90b598ed5b
commit acc35ad224

View File

@@ -331,6 +331,9 @@ state_changed_cb (CallsMainWindow *self,
case CALLS_MANAGER_STATE_NO_PLUGIN:
error = _("Can't place calls: No plugin");
break;
default:
g_assert_not_reached ();
}
gtk_label_set_text (self->permanent_error_label, error);