diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-26 05:49:15 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-26 05:49:15 +0000 |
commit | 4c28ce0877e5749d9d930304397995535190a168 (patch) | |
tree | 53429d9310a84cc9825774d9ae6808a8963c6e30 /gtk/gtktogglebutton.c | |
parent | 6323876b413c591edb1779fd5897066d6a4983f5 (diff) | |
download | gtk+-4c28ce0877e5749d9d930304397995535190a168.tar.gz |
Use canonical names for g_object_notify() as well.
2005-03-26 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c:
* gdk/gdkdisplaymanager.c:
Use canonical names for g_object_notify() as well.
Diffstat (limited to 'gtk/gtktogglebutton.c')
-rw-r--r-- | gtk/gtktogglebutton.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c index 5971d9359f..a51876d2be 100644 --- a/gtk/gtktogglebutton.c +++ b/gtk/gtktogglebutton.c @@ -197,7 +197,10 @@ gtk_toggle_button_new_with_label (const gchar *label) GtkWidget* gtk_toggle_button_new_with_mnemonic (const gchar *label) { - return g_object_new (GTK_TYPE_TOGGLE_BUTTON, "label", label, "use_underline", TRUE, NULL); + return g_object_new (GTK_TYPE_TOGGLE_BUTTON, + "label", label, + "use-underline", TRUE, + NULL); } static void @@ -287,7 +290,7 @@ gtk_toggle_button_set_mode (GtkToggleButton *toggle_button, if (GTK_WIDGET_VISIBLE (toggle_button)) gtk_widget_queue_resize (GTK_WIDGET (toggle_button)); - g_object_notify (G_OBJECT (toggle_button), "draw_indicator"); + g_object_notify (G_OBJECT (toggle_button), "draw-indicator"); } } |