From 233ec937746ac54c25d52771bfbb9ecc475a8919 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 25 Mar 2003 15:47:45 +0000 Subject: Move this here from gal. Use e_dialog_set_transient_for so it DTRT for * e-dialog-utils.c (e_notice): Move this here from gal. Use e_dialog_set_transient_for so it DTRT for out-of-proc components. (e_notice_with_xid): Like e_notice but with an X Window ID as the parent window (e_gnome_dialog_set_parent): Remove this, since it was marked deprecated and only used in one place. (e_file_dialog_save): Make this use GtkMessageDialog instead of GnomeDialog svn path=/trunk/; revision=20498 --- e-util/e-dialog-utils.h | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'e-util/e-dialog-utils.h') diff --git a/e-util/e-dialog-utils.h b/e-util/e-dialog-utils.h index dfacfd4149..6e6cff8fb9 100644 --- a/e-util/e-dialog-utils.h +++ b/e-util/e-dialog-utils.h @@ -23,24 +23,23 @@ #ifndef E_DIALOG_UTILS_H #define E_DIALOG_UTILS_H -#include -#include -#include -#include - -void e_dialog_set_transient_for (GtkWindow *dialog, - GtkWidget *parent_widget); -void e_dialog_set_transient_for_xid (GtkWindow *dialog, - GdkNativeWindow xid); - -/* FIXME These functions should go away completely at some point. */ - -#ifndef GNOME_DISABLE_DEPRECATED -void e_gnome_dialog_set_parent (GnomeDialog *dialog, - GtkWindow *parent); -#endif - -char *e_file_dialog_save (const char *title); +#include + +void e_notice (gpointer parent, + GtkMessageType type, + const char *format, + ...); +void e_notice_with_xid (GdkNativeWindow parent, + GtkMessageType type, + const char *format, + ...); + +void e_dialog_set_transient_for (GtkWindow *dialog, + GtkWidget *parent_widget); +void e_dialog_set_transient_for_xid (GtkWindow *dialog, + GdkNativeWindow xid); + +char *e_file_dialog_save (const char *title); #endif -- cgit