diff options
Diffstat (limited to 'e-util/e-dialog-utils.h')
-rw-r--r-- | e-util/e-dialog-utils.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/e-util/e-dialog-utils.h b/e-util/e-dialog-utils.h index fbb32d8804..dfacfd4149 100644 --- a/e-util/e-dialog-utils.h +++ b/e-util/e-dialog-utils.h @@ -28,27 +28,19 @@ #include <libgnomeui/gnome-types.h> #include <libgnomeui/gnome-dialog.h> -#include <X11/Xlib.h> /* Window */ - -void e_set_dialog_parent (GtkWindow *dialog, - GtkWidget *parent_widget); -void e_set_dialog_parent_from_xid (GtkWindow *dialog, - Window xid); +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); -GtkWidget *e_gnome_warning_dialog_parented (const char *warning, - GtkWindow *parent); -GtkWidget *e_gnome_ok_cancel_dialog_parented (const char *message, - GnomeReplyCallback callback, - gpointer data, - GtkWindow *parent); +void e_gnome_dialog_set_parent (GnomeDialog *dialog, + GtkWindow *parent); #endif -char *e_file_dialog_save (const char *title); +char *e_file_dialog_save (const char *title); #endif |