aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-gui-utils.c24
-rw-r--r--widgets/misc/e-gui-utils.h6
2 files changed, 0 insertions, 30 deletions
diff --git a/widgets/misc/e-gui-utils.c b/widgets/misc/e-gui-utils.c
index 6747ae2cff..59c499e4c1 100644
--- a/widgets/misc/e-gui-utils.c
+++ b/widgets/misc/e-gui-utils.c
@@ -30,33 +30,9 @@
#include <gtk/gtkentry.h>
#include <gtk/gtksignal.h>
-#include <gtk/gtkmessagedialog.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libgnomecanvas/gnome-canvas-pixbuf.h>
-/* should probably just deprecate/remove this and have callers change
- to using gtk_message_dialog_new */
-/* This should probably be moved into evolution/e-util */
-void
-e_notice (GtkWindow *parent, GtkMessageType type, const char *format, ...)
-{
- GtkWidget *dialog;
- va_list args;
- char *str;
-
- va_start (args, format);
- str = g_strdup_vprintf (format, args);
- dialog = gtk_message_dialog_new (parent, GTK_DIALOG_DESTROY_WITH_PARENT, type,
- GTK_BUTTONS_CLOSE,
- "%s",
- str);
- va_end (args);
- g_free (str);
-
- gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
-}
-
void
e_auto_kill_popup_menu_on_selection_done (GtkMenu *menu)
{
diff --git a/widgets/misc/e-gui-utils.h b/widgets/misc/e-gui-utils.h
index 149fecdee6..c52e233714 100644
--- a/widgets/misc/e-gui-utils.h
+++ b/widgets/misc/e-gui-utils.h
@@ -27,7 +27,6 @@
#include <gtk/gtkmenu.h>
#include <gtk/gtkwindow.h>
-#include <gtk/gtkmessagedialog.h>
#include <glade/glade-xml.h>
G_BEGIN_DECLS
@@ -36,11 +35,6 @@ void e_popup_menu (GtkMenu *menu,
GdkEvent *event);
void e_auto_kill_popup_menu_on_selection_done (GtkMenu *menu);
-void e_notice (GtkWindow *window,
- GtkMessageType type,
- const char *format,
- ...);
-
void e_container_foreach_leaf (GtkContainer *container,
GtkCallback callback,
gpointer closure);