diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-06 02:29:21 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-06 02:29:21 +0800 |
commit | bc5f022e55f49e38241e7144bc5ea1523b223f1f (patch) | |
tree | 39fdfdac9189ef9ad497b72c062bce0da778c50f /shell/e-shell-view.c | |
parent | 0e595276e5b32beae2a10ad3deb47a802866326f (diff) | |
download | gsoc2013-evolution-bc5f022e55f49e38241e7144bc5ea1523b223f1f.tar.gz gsoc2013-evolution-bc5f022e55f49e38241e7144bc5ea1523b223f1f.tar.zst gsoc2013-evolution-bc5f022e55f49e38241e7144bc5ea1523b223f1f.zip |
Use g_object_get_data() instead of gtk_object_get_data(). Likewise.
* e-folder-list.c: Use g_object_get_data() instead of
gtk_object_get_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.c: Likewise.
svn path=/trunk/; revision=18557
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r-- | shell/e-shell-view.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 92d728cf08..bc5be0b5a9 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -549,8 +549,7 @@ storage_set_removed_folder_callback (EStorageSet *storage_set, socket = find_socket (GTK_CONTAINER (view->control)); priv->sockets = g_list_remove (priv->sockets, socket); - destroy_connection_id = GPOINTER_TO_INT (gtk_object_get_data (GTK_OBJECT (socket), - "e_shell_view_destroy_connection_id")); + destroy_connection_id = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (socket), "e_shell_view_destroy_connection_id")); gtk_signal_disconnect (GTK_OBJECT (socket), destroy_connection_id); page_num = gtk_notebook_page_num (GTK_NOTEBOOK (priv->notebook), view->control); @@ -1370,8 +1369,8 @@ destroy (GtkObject *object) int destroy_connection_id; socket_widget = GTK_WIDGET (p->data); - destroy_connection_id = GPOINTER_TO_INT (gtk_object_get_data (GTK_OBJECT (socket_widget), - "e_shell_view_destroy_connection_id")); + destroy_connection_id = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (socket_widget), + "e_shell_view_destroy_connection_id")); gtk_signal_disconnect (GTK_OBJECT (socket_widget), destroy_connection_id); } @@ -2053,7 +2052,7 @@ socket_destroy_cb (GtkWidget *socket_widget, gpointer data) shell_view = E_SHELL_VIEW (data); priv = shell_view->priv; - uri = (const char *) gtk_object_get_data (GTK_OBJECT (socket_widget), "e_shell_view_folder_uri"); + uri = (const char *) g_object_get_data (G_OBJECT (socket_widget), "e_shell_view_folder_uri"); view = g_hash_table_lookup (priv->uri_to_view, uri); if (view == NULL) { |