forked from AuroraMiddleware/gtk
GtkFontChooser: Added missing breaks in switch statements
This commit is contained in:
parent
c36d291acc
commit
ab1ebb072e
@ -212,6 +212,7 @@ gtk_font_chooser_set_property (GObject *object,
|
|||||||
break;
|
break;
|
||||||
case PROP_SHOW_PREVIEW_ENTRY:
|
case PROP_SHOW_PREVIEW_ENTRY:
|
||||||
gtk_font_chooser_set_show_preview_entry (fontchooser, g_value_get_boolean (value));
|
gtk_font_chooser_set_show_preview_entry (fontchooser, g_value_get_boolean (value));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||||
break;
|
break;
|
||||||
@ -238,6 +239,7 @@ gtk_font_chooser_get_property (GObject *object,
|
|||||||
break;
|
break;
|
||||||
case PROP_SHOW_PREVIEW_ENTRY:
|
case PROP_SHOW_PREVIEW_ENTRY:
|
||||||
g_value_set_boolean (value, gtk_font_chooser_get_show_preview_entry (fontchooser));
|
g_value_set_boolean (value, gtk_font_chooser_get_show_preview_entry (fontchooser));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user