aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-04 15:12:04 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-04 15:12:04 +0800
commit317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602 (patch)
tree20f75b51acbd4dac7fa844ff2c756603d5b2ff53 /shell/e-shell.c
parente692a531d5e6e5778f110264c98bbbc3b11f08d0 (diff)
downloadgsoc2013-evolution-317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602.tar
gsoc2013-evolution-317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602.tar.gz
gsoc2013-evolution-317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602.tar.bz2
gsoc2013-evolution-317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602.tar.lz
gsoc2013-evolution-317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602.tar.xz
gsoc2013-evolution-317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602.tar.zst
gsoc2013-evolution-317b30ce9e92f0e9c18e4905cd6b8ae1e28b3602.zip
Use g_object_set_data() instead of gtk_object_set_data(). Likewise.
* e-folder-list.c: Use g_object_set_data() instead of gtk_object_set_data(). * e-shell-config-default-folders.c: Likewise. * e-shell-folder-creation-dialog.c: Likewise. * e-shell-importer.c: Likewise. * e-shell-shared-folder-picker-dialog.c: Likewise. * e-shell-user-creatable-items-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shell.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage.c: Likewise. * evolution-test-component.c: Likewise. * e-storage-set-view.c (e_storage_set_view_construct): Use g_object_weakref() instead of gtk_object_weakref() for the ui_container. (ui_container_destroy_notify): Add param where_the_object_was to match the GWeakNotify prototype. * e-shell.c: Use g_signal_emit() instead of gtk_signal_emit(). svn path=/trunk/; revision=18523
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index fb4be8a108..252b7f3300 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -535,8 +535,8 @@ impl_Shell_selectUserFolder (PortableServer_Servant servant,
listener_duplicate = CORBA_Object_duplicate (listener, ev);
- gtk_object_set_data_full (GTK_OBJECT (folder_selection_dialog), "corba_listener",
- listener_duplicate, corba_listener_destroy_notify);
+ g_object_set_data_full (G_OBJECT (folder_selection_dialog), "corba_listener",
+ listener_duplicate, corba_listener_destroy_notify);
g_signal_connect (folder_selection_dialog, "folder_selected",
G_CALLBACK (folder_selection_dialog_folder_selected_cb), shell);
@@ -980,7 +980,7 @@ view_destroy_cb (GtkObject *object,
set_interactive (shell, FALSE);
bonobo_object_ref (BONOBO_OBJECT (shell));
- gtk_signal_emit (GTK_OBJECT (shell), signals [NO_VIEWS_LEFT]);
+ g_signal_emit (shell, signals [NO_VIEWS_LEFT], 0);
bonobo_object_unref (BONOBO_OBJECT (shell));
}
}
@@ -1016,7 +1016,7 @@ create_view (EShell *shell,
e_shell_view_show_shortcut_bar (view, e_shell_view_shortcut_bar_shown (template_view));
}
- gtk_signal_emit (GTK_OBJECT (shell), signals[NEW_VIEW_CREATED], view);
+ g_signal_emit (shell, signals[NEW_VIEW_CREATED], 0, view);
return view;
}
@@ -1881,7 +1881,7 @@ offline_procedure_started_cb (EShellOfflineHandler *offline_handler,
priv = shell->priv;
priv->line_status = E_SHELL_LINE_STATUS_GOING_OFFLINE;
- gtk_signal_emit (GTK_OBJECT (shell), signals[LINE_STATUS_CHANGED], priv->line_status);
+ g_signal_emit (shell, signals[LINE_STATUS_CHANGED], 0, priv->line_status);
}
static void
@@ -1903,7 +1903,7 @@ offline_procedure_finished_cb (EShellOfflineHandler *offline_handler,
g_object_unref (priv->offline_handler);
priv->offline_handler = NULL;
- gtk_signal_emit (GTK_OBJECT (shell), signals[LINE_STATUS_CHANGED], priv->line_status);
+ g_signal_emit (shell, signals[LINE_STATUS_CHANGED], 0, priv->line_status);
}
/**
@@ -2009,7 +2009,7 @@ e_shell_go_online (EShell *shell,
e_free_string_list (component_ids);
priv->line_status = E_SHELL_LINE_STATUS_ONLINE;
- gtk_signal_emit (GTK_OBJECT (shell), signals[LINE_STATUS_CHANGED], priv->line_status);
+ g_signal_emit (shell, signals[LINE_STATUS_CHANGED], 0, priv->line_status);
}