aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-view.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-12-02 11:23:57 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-12-02 11:23:57 +0800
commit9d77b85ae36094fd1a0b07be4ebb69e047c9cec1 (patch)
treebbbaa747e8cf40cb220d651d4b2fdd8159fae652 /shell/evolution-shell-view.c
parent2a7bc6967326be929beb1e0d7a3ba091022d59e9 (diff)
downloadgsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.gz
gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.zst
gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.zip
changed to use a gtkdialog instead of a gnome one.
2002-11-27 Not Zed <NotZed@Ximian.com> * main.c (show_development_warning): changed to use a gtkdialog instead of a gnome one. (warning_dialog_response_callback): clicked->response. * e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h * e-shell-folder-creation-dialog.c: include gnome-dialog.h (dialog_response_cb): gtk_entry_get_text now returns const. Dont free result. * e-setup.c: include gnome-messagebox.h * *.c: (re)run fix.sh over all, for e_notice changes & pick up some deprecated functions. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_callback): reformat e_notice call for script. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_reportFailure): Fix e_notice call, we weren't passing type in. * e-shell-folder-commands.c (xfer_result_callback): changed around slightly to save some processing & allow a script to run. (e_shell_command_rename_folder): reformat e_notice call to help script. Include gnome-messagebox.h svn path=/trunk/; revision=18977
Diffstat (limited to 'shell/evolution-shell-view.c')
-rw-r--r--shell/evolution-shell-view.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/shell/evolution-shell-view.c b/shell/evolution-shell-view.c
index 7ec337ee55..c7e8425630 100644
--- a/shell/evolution-shell-view.c
+++ b/shell/evolution-shell-view.c
@@ -167,7 +167,7 @@ class_init (EvolutionShellViewClass *klass)
= gtk_signal_new ("set_message",
GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
- GTK_SIGNAL_OFFSET (EvolutionShellViewClass, set_message),
+ G_STRUCT_OFFSET (EvolutionShellViewClass, set_message),
e_shell_marshal_NONE__STRING_INT,
GTK_TYPE_NONE, 2,
GTK_TYPE_STRING,
@@ -177,7 +177,7 @@ class_init (EvolutionShellViewClass *klass)
= gtk_signal_new ("unset_message",
GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
- GTK_SIGNAL_OFFSET (EvolutionShellViewClass, unset_message),
+ G_STRUCT_OFFSET (EvolutionShellViewClass, unset_message),
e_shell_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
@@ -185,7 +185,7 @@ class_init (EvolutionShellViewClass *klass)
= gtk_signal_new ("change_current_view",
GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
- GTK_SIGNAL_OFFSET (EvolutionShellViewClass, change_current_view),
+ G_STRUCT_OFFSET (EvolutionShellViewClass, change_current_view),
e_shell_marshal_NONE__STRING,
GTK_TYPE_NONE, 1,
GTK_TYPE_STRING);
@@ -194,7 +194,7 @@ class_init (EvolutionShellViewClass *klass)
= gtk_signal_new ("set_title",
GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
- GTK_SIGNAL_OFFSET (EvolutionShellViewClass, set_title),
+ G_STRUCT_OFFSET (EvolutionShellViewClass, set_title),
e_shell_marshal_NONE__STRING,
GTK_TYPE_NONE, 1,
GTK_TYPE_STRING);
@@ -203,7 +203,7 @@ class_init (EvolutionShellViewClass *klass)
= gtk_signal_new ("set_folder_bar_label",
GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
- GTK_SIGNAL_OFFSET (EvolutionShellViewClass, set_folder_bar_label),
+ G_STRUCT_OFFSET (EvolutionShellViewClass, set_folder_bar_label),
e_shell_marshal_NONE__STRING,
GTK_TYPE_NONE, 1,
GTK_TYPE_STRING);
@@ -212,11 +212,11 @@ class_init (EvolutionShellViewClass *klass)
= gtk_signal_new ("show_settings",
GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
- GTK_SIGNAL_OFFSET (EvolutionShellViewClass, show_settings),
+ G_STRUCT_OFFSET (EvolutionShellViewClass, show_settings),
e_shell_marshal_NONE__NONE,
GTK_TYPE_NONE, 0);
- parent_class = gtk_type_class (bonobo_x_object_get_type ());
+ parent_class = g_type_class_ref(bonobo_x_object_get_type ());
}
static void