From 351cb225cbaf139c4d8264e26962460e9705280e Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 25 Mar 2003 15:47:13 +0000 Subject: Remove e_notice. (Moved to evolution.) * gal/widgets/e-gui-utils.c: Remove e_notice. (Moved to evolution.) svn path=/trunk/; revision=20496 --- widgets/misc/e-gui-utils.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'widgets/misc/e-gui-utils.c') 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 #include -#include #include #include -/* 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) { -- cgit v1.2.3