From 2c80691be6d9d596a4a1ae3c7fe8aa9030e42e2d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 27 May 2020 20:05:26 -0400 Subject: [PATCH] aboutdialog: Stop overriding show() This is entirely unnecessary. --- gtk/gtkaboutdialog.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 96411e26a8..d2c7d6fa22 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -243,7 +243,6 @@ static void gtk_about_dialog_set_property (GObject guint prop_id, const GValue *value, GParamSpec *pspec); -static void gtk_about_dialog_show (GtkWidget *widget); static void update_name_version (GtkAboutDialog *about); static void follow_if_link (GtkAboutDialog *about, GtkTextView *text_view, @@ -338,8 +337,6 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass) object_class->finalize = gtk_about_dialog_finalize; - widget_class->show = gtk_about_dialog_show; - klass->activate_link = gtk_about_dialog_activate_link; /** @@ -1023,14 +1020,6 @@ update_website (GtkAboutDialog *about) } } -static void -gtk_about_dialog_show (GtkWidget *widget) -{ - update_website (GTK_ABOUT_DIALOG (widget)); - - GTK_WIDGET_CLASS (gtk_about_dialog_parent_class)->show (widget); -} - /** * gtk_about_dialog_get_program_name: * @about: a #GtkAboutDialog