aboutdialog: Stop overriding show()

This is entirely unnecessary.
This commit is contained in:
Matthias Clasen 2020-05-27 20:05:26 -04:00
parent 1cd71203b8
commit 2c80691be6

View File

@ -243,7 +243,6 @@ static void gtk_about_dialog_set_property (GObject
guint prop_id, guint prop_id,
const GValue *value, const GValue *value,
GParamSpec *pspec); GParamSpec *pspec);
static void gtk_about_dialog_show (GtkWidget *widget);
static void update_name_version (GtkAboutDialog *about); static void update_name_version (GtkAboutDialog *about);
static void follow_if_link (GtkAboutDialog *about, static void follow_if_link (GtkAboutDialog *about,
GtkTextView *text_view, GtkTextView *text_view,
@ -338,8 +337,6 @@ gtk_about_dialog_class_init (GtkAboutDialogClass *klass)
object_class->finalize = gtk_about_dialog_finalize; object_class->finalize = gtk_about_dialog_finalize;
widget_class->show = gtk_about_dialog_show;
klass->activate_link = gtk_about_dialog_activate_link; 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: * gtk_about_dialog_get_program_name:
* @about: a #GtkAboutDialog * @about: a #GtkAboutDialog