From 96421ff37cd554af1ac11527bcad25cc2f2f1930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Tue, 13 Apr 2010 07:20:31 +0200 Subject: Use accessor functions instead direct access (GSEAL work) Still remaining: GtkAccessible::widget GtkAssistant::forward GtkAssistant::back GtkObject::flags GtkTreeStore::stamp The GtkAssistant fields are related to bug #596428. We don't need accessor functions so much as the enhancement described there implemented. https://bugzilla.gnome.org/show_bug.cgi?id=615613 --- plugins/templates/templates.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/templates') diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c index cd3d682515..7971ea3b72 100644 --- a/plugins/templates/templates.c +++ b/plugins/templates/templates.c @@ -385,17 +385,17 @@ e_plugin_lib_get_configure_widget (EPlugin *epl) clue_add = gtk_button_new_from_stock ("gtk-add"); gtk_widget_show (clue_add); gtk_container_add (GTK_CONTAINER (vbuttonbox2), clue_add); - GTK_WIDGET_SET_FLAGS (clue_add, GTK_CAN_DEFAULT); + gtk_widget_set_can_default (clue_add, TRUE); clue_edit = gtk_button_new_from_stock ("gtk-edit"); gtk_widget_show (clue_edit); gtk_container_add (GTK_CONTAINER (vbuttonbox2), clue_edit); - GTK_WIDGET_SET_FLAGS (clue_edit, GTK_CAN_DEFAULT); + gtk_widget_set_can_default (clue_edit, TRUE); clue_remove = gtk_button_new_from_stock ("gtk-remove"); gtk_widget_show (clue_remove); gtk_container_add (GTK_CONTAINER (vbuttonbox2), clue_remove); - GTK_WIDGET_SET_FLAGS (clue_remove, GTK_CAN_DEFAULT); + gtk_widget_set_can_default (clue_remove, TRUE); ui->gconf = gconf_client_get_default (); -- cgit v1.2.3