GtkFontChooser: Added missing breaks in switch statements

This commit is contained in:
Alberto Ruiz 2011-07-25 17:38:54 +01:00 committed by Matthias Clasen
parent c36d291acc
commit ab1ebb072e

View File

@ -212,6 +212,7 @@ gtk_font_chooser_set_property (GObject *object,
break;
case PROP_SHOW_PREVIEW_ENTRY:
gtk_font_chooser_set_show_preview_entry (fontchooser, g_value_get_boolean (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
@ -238,6 +239,7 @@ gtk_font_chooser_get_property (GObject *object,
break;
case PROP_SHOW_PREVIEW_ENTRY:
g_value_set_boolean (value, gtk_font_chooser_get_show_preview_entry (fontchooser));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;