|
[dia] Don't use deprecated function gtk_object_set().: msg#08166svn-commits-list
commit e81adadcf00ed1ac7dccd87473eee8ace25f60d2 Author: Adam Buchbinder <adam.buchbinder@xxxxxxxxx> Date: Tue Jul 28 15:27:20 2009 -0400 Don't use deprecated function gtk_object_set(). Replaced gtk_object_set(GTK_OBJECT(foo),...) with g_object_set(foo,...): http://library.gnome.org/devel/gtk/stable/GtkObject.html#gtk-object-set Signed-off-by: Hans Breuer <hans@xxxxxxxxxx> app/sheets_dialog_callbacks.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) --- diff --git a/app/sheets_dialog_callbacks.c b/app/sheets_dialog_callbacks.c index 9aa9768..9b23e06 100644 --- a/app/sheets_dialog_callbacks.c +++ b/app/sheets_dialog_callbacks.c @@ -160,26 +160,26 @@ on_sheets_dialog_object_button_toggled(GtkToggleButton *togglebutton, g_object_set_data(G_OBJECT(table_sheets), "active_optionmenu", optionmenu_left); button = lookup_widget(sheets_dialog, "button_copy"); - gtk_object_set(GTK_OBJECT(button), "label", _("Copy ->"), NULL); + g_object_set(button, "label", _("Copy ->"), NULL); button = lookup_widget(sheets_dialog, "button_copy_all"); - gtk_object_set(GTK_OBJECT(button), "label", _("Copy All ->"), NULL); + g_object_set(button, "label", _("Copy All ->"), NULL); button = lookup_widget(sheets_dialog, "button_move"); - gtk_object_set(GTK_OBJECT(button), "label", _("Move ->"), NULL); + g_object_set(button, "label", _("Move ->"), NULL); button = lookup_widget(sheets_dialog, "button_move_all"); - gtk_object_set(GTK_OBJECT(button), "label", _("Move All ->"), NULL); + g_object_set(button, "label", _("Move All ->"), NULL); } else { g_object_set_data(G_OBJECT(table_sheets), "active_optionmenu", optionmenu_right); button = lookup_widget(sheets_dialog, "button_copy"); - gtk_object_set(GTK_OBJECT(button), "label", _("<- Copy"), NULL); + g_object_set(button, "label", _("<- Copy"), NULL); button = lookup_widget(sheets_dialog, "button_copy_all"); - gtk_object_set(GTK_OBJECT(button), "label", _("<- Copy All"), NULL); + g_object_set(button, "label", _("<- Copy All"), NULL); button = lookup_widget(sheets_dialog, "button_move"); - gtk_object_set(GTK_OBJECT(button), "label", _("<- Move"), NULL); + g_object_set(button, "label", _("<- Move"), NULL); button = lookup_widget(sheets_dialog, "button_move_all"); - gtk_object_set(GTK_OBJECT(button), "label", _("<- Move All"), NULL); + g_object_set(button, "label", _("<- Move All"), NULL); } sheet_left = sheet_left ? sheet_left : ""; /* initial value can be NULL */ _______________________________________________ SVN-commits-list mailing list (read only) http://mail.gnome.org/mailman/listinfo/svn-commits-list Want to limit the commits to a few modules? Go to above URL, log in to edit your options and select the modules ('topics') you want.
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |