From 825502031ff29ed6f5b94a4479ee5be4689ed924 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 22 Jun 2001 02:40:59 +0000 Subject: update to new call 2001-06-21 JP Rosevear * gui/main.c (main): update to new call * gui/e-itip-control.[hc]: break the widget bits out on their own into a proper object, basic stuff seems to be working again * gui/itip-control-factory.c: put the control specific bits here from e-itip-control.c * gui/itip-control-factory.h: new header svn path=/trunk/; revision=10389 --- calendar/gui/dialogs/comp-editor.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'calendar/gui/dialogs') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 252d858e7f..d67ebc7919 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -97,9 +97,6 @@ static void print_preview_cmd (GtkWidget *widget, gpointer data); static void print_setup_cmd (GtkWidget *widget, gpointer data); static void close_cmd (GtkWidget *widget, gpointer data); -static void save_clicked_cb (GtkWidget *widget, gpointer data); -static void close_clicked_cb (GtkWidget *widget, gpointer data); -static void help_clicked_cb (GtkWidget *widget, gpointer data); static gint delete_event_cb (GtkWidget *widget, GdkEvent *event, gpointer data); static EPixmap pixmaps [] = @@ -177,9 +174,6 @@ setup_widgets (CompEditor *editor) CompEditorPrivate *priv; BonoboUIContainer *container; GtkWidget *vbox; - GtkWidget *bbox; - GtkWidget *pixmap; - GtkWidget *button; priv = editor->priv; @@ -901,30 +895,6 @@ close_cmd (GtkWidget *widget, gpointer data) close_dialog (editor); } -static void -save_clicked_cb (GtkWidget *widget, gpointer data) -{ - CompEditor *editor = COMP_EDITOR (data); - - save_comp (editor); - close_dialog (editor); -} - -static void -close_clicked_cb (GtkWidget *widget, gpointer data) -{ - CompEditor *editor = COMP_EDITOR (data); - - if (prompt_to_save_changes (editor)) - close_dialog (editor); -} - -/* Button callbacks */ -static void -help_clicked_cb (GtkWidget *widget, gpointer data) -{ -} - static void page_changed_cb (GtkWidget *widget, gpointer data) { -- cgit v1.2.3