aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/email-custom-header
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-04-13 13:20:31 +0800
committerJavier Jardón <jjardon@gnome.org>2010-04-13 22:23:16 +0800
commit96421ff37cd554af1ac11527bcad25cc2f2f1930 (patch)
tree3f1a0d1ded8ab241481df3eb1ae1772c137eff7f /plugins/email-custom-header
parent7e931d4c10c0b0d06c9df571589d003e43790690 (diff)
downloadgsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar
gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar.gz
gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar.bz2
gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar.lz
gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar.xz
gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar.zst
gsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.zip
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
Diffstat (limited to 'plugins/email-custom-header')
-rw-r--r--plugins/email-custom-header/email-custom-header.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/email-custom-header/email-custom-header.c b/plugins/email-custom-header/email-custom-header.c
index 771b23874f..6b94c721f3 100644
--- a/plugins/email-custom-header/email-custom-header.c
+++ b/plugins/email-custom-header/email-custom-header.c
@@ -926,17 +926,17 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
header_add = gtk_button_new_from_stock ("gtk-add");
gtk_widget_show (header_add);
gtk_container_add (GTK_CONTAINER (vbuttonbox1), header_add);
- GTK_WIDGET_SET_FLAGS (header_add, GTK_CAN_DEFAULT);
+ gtk_widget_set_can_default (header_add, TRUE);
header_edit = gtk_button_new_from_stock ("gtk-edit");
gtk_widget_show (header_edit);
gtk_container_add (GTK_CONTAINER (vbuttonbox1), header_edit);
- GTK_WIDGET_SET_FLAGS (header_edit, GTK_CAN_DEFAULT);
+ gtk_widget_set_can_default (header_edit, TRUE);
header_remove = gtk_button_new_from_stock ("gtk-remove");
gtk_widget_show (header_remove);
gtk_container_add (GTK_CONTAINER (vbuttonbox1), header_remove);
- GTK_WIDGET_SET_FLAGS (header_remove, GTK_CAN_DEFAULT);
+ gtk_widget_set_can_default (header_remove, TRUE);
cd->gconf = gconf_client_get_default ();