From 9d77b85ae36094fd1a0b07be4ebb69e047c9cec1 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Mon, 2 Dec 2002 03:23:57 +0000 Subject: changed to use a gtkdialog instead of a gnome one. 2002-11-27 Not Zed * 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 --- shell/e-shell-offline-handler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell/e-shell-offline-handler.c') diff --git a/shell/e-shell-offline-handler.c b/shell/e-shell-offline-handler.c index 191220f53c..42972d0e50 100644 --- a/shell/e-shell-offline-handler.c +++ b/shell/e-shell-offline-handler.c @@ -718,13 +718,13 @@ class_init (EShellOfflineHandlerClass *klass) object_class->dispose = impl_dispose; object_class->finalize = impl_finalize; - parent_class = gtk_type_class (gtk_object_get_type ()); + parent_class = g_type_class_ref(gtk_object_get_type ()); signals[OFFLINE_PROCEDURE_STARTED] = gtk_signal_new ("offline_procedure_started", GTK_RUN_LAST, GTK_CLASS_TYPE (object_class), - GTK_SIGNAL_OFFSET (EShellOfflineHandlerClass, offline_procedure_started), + G_STRUCT_OFFSET (EShellOfflineHandlerClass, offline_procedure_started), e_shell_marshal_NONE__NONE, GTK_TYPE_NONE, 0); @@ -732,7 +732,7 @@ class_init (EShellOfflineHandlerClass *klass) = gtk_signal_new ("offline_procedure_finished", GTK_RUN_LAST, GTK_CLASS_TYPE (object_class), - GTK_SIGNAL_OFFSET (EShellOfflineHandlerClass, offline_procedure_finished), + G_STRUCT_OFFSET (EShellOfflineHandlerClass, offline_procedure_finished), e_shell_marshal_NONE__BOOL, GTK_TYPE_NONE, 1, GTK_TYPE_BOOL); -- cgit v1.2.3