mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 20:35:31 +00:00
main-window: Add default case to switch statement
As caught by compiling with `-Wswitch-default`
This commit is contained in:
parent
90b598ed5b
commit
acc35ad224
1 changed files with 3 additions and 0 deletions
|
@ -331,6 +331,9 @@ state_changed_cb (CallsMainWindow *self,
|
||||||
case CALLS_MANAGER_STATE_NO_PLUGIN:
|
case CALLS_MANAGER_STATE_NO_PLUGIN:
|
||||||
error = _("Can't place calls: No plugin");
|
error = _("Can't place calls: No plugin");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_label_set_text (self->permanent_error_label, error);
|
gtk_label_set_text (self->permanent_error_label, error);
|
||||||
|
|
Loading…
Reference in a new issue