diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-12-19 04:10:00 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-12-19 04:10:00 +0000 |
commit | 29cec89b7a640eeab8cb17cf3e8b9210ac59bbe6 (patch) | |
tree | a7a60f399778459ed67997e18196affb4df3ff28 /gtk/gtkaboutdialog.c | |
parent | a7ef7dc90abe82d98e41732ebccfc4a04ce91638 (diff) | |
download | gdk-pixbuf-29cec89b7a640eeab8cb17cf3e8b9210ac59bbe6.tar.gz |
Add missing initializations. (#161646, Torsten Schoenfeld)
2004-12-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name):
(gtk_about_dialog_init): Add missing initializations. (#161646,
Torsten Schoenfeld)
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r-- | gtk/gtkaboutdialog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 02f2e5a91..c9f640fd5 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -424,6 +424,7 @@ gtk_about_dialog_init (GtkAboutDialog *about) priv->website = NULL; priv->website_label = NULL; priv->translator_credits = NULL; + priv->license = NULL; priv->authors = NULL; priv->documenters = NULL; priv->artists = NULL; @@ -1439,7 +1440,7 @@ gtk_about_dialog_set_logo (GtkAboutDialog *about, * Returns the icon name displayed as logo in the about dialog. * * Return value: the icon name displayed as logo. The string is - * owned by the about dialog. If you want to keep a reference + * owned by the dialog. If you want to keep a reference * to it, you have to call g_strdup() on it. * * Since: 2.6 @@ -1448,7 +1449,7 @@ G_CONST_RETURN gchar * gtk_about_dialog_get_logo_icon_name (GtkAboutDialog *about) { GtkAboutDialogPrivate *priv; - const gchar *icon_name; + const gchar *icon_name = NULL; g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL); |