From d3b09614221d075452496a5198a3910d07eb2818 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 29 Sep 2010 10:47:32 -0400 Subject: EAlert cleanups. Clean up the header, drop some unused cruft. --- e-util/e-alert-dialog.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'e-util/e-alert-dialog.c') diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c index 021812e590..1aa238cdcc 100644 --- a/e-util/e-alert-dialog.c +++ b/e-util/e-alert-dialog.c @@ -101,17 +101,6 @@ e_alert_dialog_dispose (GObject *object) G_OBJECT_CLASS (e_alert_dialog_parent_class)->dispose (object); } -static void -dialog_response_cb (GtkWidget *w, guint button, gpointer user_data) -{ - EAlertDialogPrivate *priv = ALERT_DIALOG_PRIVATE (w); - - if (button == GTK_RESPONSE_HELP) { - g_signal_stop_emission_by_name(w, "response"); - e_display_help (GTK_WINDOW (w), e_alert_peek_help_uri (priv->alert)); - } -} - static void e_alert_dialog_init (EAlertDialog *self) { @@ -157,11 +146,6 @@ e_alert_dialog_constructed (GObject *obj) gtk_window_set_modal ((GtkWindow *)self, TRUE); gtk_window_set_destroy_with_parent ((GtkWindow *)self, TRUE); - if (e_alert_peek_help_uri (alert)) { - gtk_dialog_add_button ((GtkDialog*) self, GTK_STOCK_HELP, GTK_RESPONSE_HELP); - g_signal_connect(self, "response", G_CALLBACK(dialog_response_cb), NULL); - } - b = e_alert_peek_buttons (alert); if (b == NULL) { gtk_dialog_add_button ((GtkDialog*) self, GTK_STOCK_OK, GTK_RESPONSE_OK); -- cgit