diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-04 06:08:16 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-04 06:08:16 +0800 |
commit | ede7fcb220b739c4d12775904086afe0df595acd (patch) | |
tree | cae8198cf8f57d3e08d13c03538e69a411f8a45c /shell/e-shell-folder-title-bar.c | |
parent | 9cbba714fc0eb122c0736b94727b4d2580b9d53c (diff) | |
download | gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar.gz gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.tar.zst gsoc2013-evolution-ede7fcb220b739c4d12775904086afe0df595acd.zip |
Changed all gtk_object_refs()/gtk_object_unrefs() into
* *.c, *.h: Changed all gtk_object_refs()/gtk_object_unrefs() into
g_object_refs()/g_object_unrefs() and all gtk_signal_connect_*()
into g_signal_connect_*(). [Except for some case where we have
gtk_signal_connect_full() or gtk_signal_connect_while_alive()
calls that cannot be trivially ported to use the g_signal_*
functions, we'll have to fix those later.]
* e-splash.c (impl_finalize): Finalize implementation, copied over
from impl_destroy.
(impl_destroy): Removed.
(class_init): Override finalize, not destroy.
* e-activity-handler.c: Ported from GtkObject to GObject.
* evolution-storage.c: Likewise.
* e-corba-shortcuts.c: Likewise.
* evolution-session.h: Likewise.
* evolution-config-control.c: Likewise.
* evolution-shell-component-dnd.c: Likewise.
* evolution-shell-component.c: Likewise.
* evolution-shell-view.c: Likewise.
* evolution-storage-set-view.c: Likewise.
* evolution-wizard.c: Likewise.
svn path=/trunk/; revision=18513
Diffstat (limited to 'shell/e-shell-folder-title-bar.c')
-rw-r--r-- | shell/e-shell-folder-title-bar.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/e-shell-folder-title-bar.c b/shell/e-shell-folder-title-bar.c index a5ed4ef7ff..40d8b8ad65 100644 --- a/shell/e-shell-folder-title-bar.c +++ b/shell/e-shell-folder-title-bar.c @@ -345,8 +345,8 @@ add_navigation_buttons (EShellFolderTitleBar *folder_title_bar) back_pixmap = create_pixmap_widget_from_xpm (left_arrow_xpm); gtk_container_add (GTK_CONTAINER (priv->back_button), back_pixmap); - gtk_signal_connect (GTK_OBJECT (priv->back_button), "clicked", - GTK_SIGNAL_FUNC (back_button_clicked_callback), folder_title_bar); + g_signal_connect (priv->back_button, "clicked", + G_CALLBACK (back_button_clicked_callback), folder_title_bar); priv->forward_button = gtk_button_new (); gtk_button_set_relief (GTK_BUTTON (priv->forward_button), GTK_RELIEF_NONE); @@ -355,8 +355,8 @@ add_navigation_buttons (EShellFolderTitleBar *folder_title_bar) forward_pixmap = create_pixmap_widget_from_xpm (right_arrow_xpm); gtk_container_add (GTK_CONTAINER (priv->forward_button), forward_pixmap); - gtk_signal_connect (GTK_OBJECT (priv->forward_button), "clicked", - GTK_SIGNAL_FUNC (forward_button_clicked_callback), folder_title_bar); + g_signal_connect (priv->forward_button, "clicked", + G_CALLBACK (forward_button_clicked_callback), folder_title_bar); gtk_box_pack_start (GTK_BOX (folder_title_bar), priv->back_button, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (folder_title_bar), priv->forward_button, FALSE, FALSE, 0); @@ -578,8 +578,8 @@ e_shell_folder_title_bar_construct (EShellFolderTitleBar *folder_title_bar) GTK_WIDGET (priv->title_button)->style->xthickness, GTK_WIDGET (priv->title_button)->style->ythickness + 2); - gtk_signal_connect (GTK_OBJECT (priv->title_button), "toggled", - GTK_SIGNAL_FUNC (title_button_toggled_cb), folder_title_bar); + g_signal_connect (priv->title_button, "toggled", + G_CALLBACK (title_button_toggled_cb), folder_title_bar); add_navigation_buttons (folder_title_bar); |