aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/window-commands.c12
2 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 8af13cdc8..72372e3a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-03-21 Christian Persch <chpe@cvs.gnome.org>
+ * src/window-commands.c: (window_cmd_help_about):
+
+ Forgot to s/logo/icon/g.
+
+2004-03-21 Christian Persch <chpe@cvs.gnome.org>
+
* data/glade/prefs-dialog.glade:
Fix "Add" button width in the prefs dialogue for some themes.
diff --git a/src/window-commands.c b/src/window-commands.c
index 218e4d8ed..2611dcbe6 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -901,7 +901,7 @@ window_cmd_help_about (GtkAction *action,
static GtkWidget *about = NULL;
GtkWidget** ptr;
const char *icon_path;
- GdkPixbuf *logo = NULL;
+ GdkPixbuf *icon = NULL;
GtkIconTheme *icon_theme;
GtkIconInfo *icon_info;
@@ -940,7 +940,7 @@ window_cmd_help_about (GtkAction *action,
if (icon_path != NULL)
{
- logo = gdk_pixbuf_new_from_file (icon_path, NULL);
+ icon = gdk_pixbuf_new_from_file (icon_path, NULL);
}
}
else
@@ -955,13 +955,13 @@ window_cmd_help_about (GtkAction *action,
(const char **)authors,
(const char **)documenters,
strcmp (translator_credits, "translator-credits") != 0 ? translator_credits : NULL,
- logo);
+ icon);
- gtk_window_set_icon (GTK_WINDOW (about), logo);
+ gtk_window_set_icon (GTK_WINDOW (about), icon);
- if (logo != NULL)
+ if (icon != NULL)
{
- g_object_unref (logo);
+ g_object_unref (icon);
}
gtk_window_set_transient_for (GTK_WINDOW (about),