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 /shell | |
parent | 7e931d4c10c0b0d06c9df571589d003e43790690 (diff) | |
download | gsoc2013-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 'shell')
-rw-r--r-- | shell/e-shell-content.c | 2 | ||||
-rw-r--r-- | shell/e-shell-sidebar.c | 2 | ||||
-rw-r--r-- | shell/e-shell-switcher.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c index 658bb2a6fc..aef93d73ec 100644 --- a/shell/e-shell-content.c +++ b/shell/e-shell-content.c @@ -313,7 +313,7 @@ e_shell_content_init (EShellContent *shell_content) { shell_content->priv = E_SHELL_CONTENT_GET_PRIVATE (shell_content); - GTK_WIDGET_SET_FLAGS (shell_content, GTK_NO_WINDOW); + gtk_widget_set_has_window (shell_content, FALSE); } /** diff --git a/shell/e-shell-sidebar.c b/shell/e-shell-sidebar.c index 0c2aa48440..b5c3879c50 100644 --- a/shell/e-shell-sidebar.c +++ b/shell/e-shell-sidebar.c @@ -400,7 +400,7 @@ e_shell_sidebar_init (EShellSidebar *shell_sidebar) shell_sidebar->priv = E_SHELL_SIDEBAR_GET_PRIVATE (shell_sidebar); - GTK_WIDGET_SET_FLAGS (shell_sidebar, GTK_NO_WINDOW); + gtk_widget_set_has_window (GTK_WIDGET (shell_sidebar), FALSE); widget = gtk_event_box_new (); style = gtk_widget_get_style (widget); diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c index aace0a0073..c09258b7a2 100644 --- a/shell/e-shell-switcher.c +++ b/shell/e-shell-switcher.c @@ -507,7 +507,7 @@ e_shell_switcher_init (EShellSwitcher *switcher) { switcher->priv = E_SHELL_SWITCHER_GET_PRIVATE (switcher); - GTK_WIDGET_SET_FLAGS (switcher, GTK_NO_WINDOW); + gtk_widget_set_has_window (GTK_WIDGET (switcher), FALSE); e_extensible_load_extensions (E_EXTENSIBLE (switcher)); } @@ -545,7 +545,7 @@ tool_item_get_button (GtkWidget *widget) g_return_val_if_fail (GTK_IS_TOOL_ITEM (widget), NULL); - child = GTK_BIN (widget)->child; + child = gtk_bin_get_child (GTK_BIN (widget)); if (child != NULL && GTK_IS_BUTTON (child)) return GTK_BUTTON (child); else |