diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-04-13 13:20:31 +0800 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-04-13 22:23:16 +0800 |
commit | 96421ff37cd554af1ac11527bcad25cc2f2f1930 (patch) | |
tree | 3f1a0d1ded8ab241481df3eb1ae1772c137eff7f /widgets/table/e-cell-combo.c | |
parent | 7e931d4c10c0b0d06c9df571589d003e43790690 (diff) | |
download | gsoc2013-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 'widgets/table/e-cell-combo.c')
-rw-r--r-- | widgets/table/e-cell-combo.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/widgets/table/e-cell-combo.c b/widgets/table/e-cell-combo.c index 47e1a87eac..186ae4dfed 100644 --- a/widgets/table/e-cell-combo.c +++ b/widgets/table/e-cell-combo.c @@ -146,12 +146,8 @@ e_cell_combo_init (ECellCombo *ecc) gtk_scrolled_window_set_policy (scrolled_window, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - GTK_WIDGET_UNSET_FLAGS ( - gtk_scrolled_window_get_hscrollbar (scrolled_window), - GTK_CAN_FOCUS); - GTK_WIDGET_UNSET_FLAGS ( - gtk_scrolled_window_get_vscrollbar (scrolled_window), - GTK_CAN_FOCUS); + gtk_widget_set_can_focus (gtk_scrolled_window_get_hscrollbar (scrolled_window), FALSE); + gtk_widget_set_can_focus (gtk_scrolled_window_get_vscrollbar (scrolled_window), FALSE); gtk_container_add (GTK_CONTAINER (frame), ecc->popup_scrolled_window); gtk_widget_show (ecc->popup_scrolled_window); |