aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-header.c
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 /composer/e-composer-header.c
parent7e931d4c10c0b0d06c9df571589d003e43790690 (diff)
downloadgsoc2013-evolution-96421ff37cd554af1ac11527bcad25cc2f2f1930.tar.gz
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 'composer/e-composer-header.c')
-rw-r--r--composer/e-composer-header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-composer-header.c b/composer/e-composer-header.c
index 2a6942acd8..0d32667bca 100644
--- a/composer/e-composer-header.c
+++ b/composer/e-composer-header.c
@@ -97,7 +97,7 @@ composer_header_constructor (GType type,
if (header->priv->button) {
widget = gtk_button_new_with_mnemonic (header->priv->label);
- GTK_WIDGET_UNSET_FLAGS (widget, GTK_CAN_FOCUS);
+ gtk_widget_set_can_focus (widget, FALSE);
g_signal_connect (
widget, "clicked",
G_CALLBACK (composer_header_button_clicked_cb),