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; 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;