diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/about.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/about.c b/src/about.c index ab82068a..486b6416 100644 --- a/src/about.c +++ b/src/about.c @@ -39,7 +39,6 @@ static GtkWidget *dialog; -static void zenity_about_display_help (GtkWidget *widget, gpointer data); static void zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data); /* Sync with the people in the THANKS file */ @@ -258,7 +257,6 @@ void zenity_about (ZenityData *data) { GdkPixbuf *logo; - GtkWidget *help_button; char *license_trans; @@ -288,18 +286,6 @@ zenity_about (ZenityData *data) zenity_util_set_window_icon (dialog, NULL, ZENITY_IMAGE_FULLPATH ("zenity.png")); - help_button = gtk_button_new_from_stock (GTK_STOCK_HELP); - - g_signal_connect (G_OBJECT (help_button), "clicked", - G_CALLBACK (zenity_about_display_help), data); - - gtk_widget_show (help_button); - - gtk_box_pack_end (GTK_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dialog))), - help_button, FALSE, TRUE, 0); - gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (gtk_dialog_get_action_area (GTK_DIALOG (dialog))), - help_button, TRUE); - g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (zenity_about_dialog_response), data); @@ -330,9 +316,3 @@ zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data) gtk_main_quit (); } - -static void -zenity_about_display_help (GtkWidget *widget, gpointer data) -{ - zenity_util_show_help (NULL); -} |