diff options
author | Paolo Borelli <pborelli@src.gnome.org> | 2006-04-08 14:49:17 +0000 |
---|---|---|
committer | Paolo Borelli <pborelli@src.gnome.org> | 2006-04-08 14:49:17 +0000 |
commit | 023a16aaf1c9636058b730b8060f902ef06eb0ce (patch) | |
tree | ad85a88947721113f52794a3438720056b8b8e63 /gedit/gedit-commands-help.c | |
parent | 99c9bc7d4179bc4650b6ee25cffabc7d255689f5 (diff) | |
download | gedit-023a16aaf1c9636058b730b8060f902ef06eb0ce.tar.gz |
revert change committed by mistake.
Diffstat (limited to 'gedit/gedit-commands-help.c')
-rw-r--r-- | gedit/gedit-commands-help.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/gedit/gedit-commands-help.c b/gedit/gedit-commands-help.c index d32cd36c3..785f16da5 100644 --- a/gedit/gedit-commands-help.c +++ b/gedit/gedit-commands-help.c @@ -72,17 +72,22 @@ gedit_cmd_help_about (GtkAction *action, static const gchar copyright[] = \ "Copyright \xc2\xa9 1998-2000 Evan Lawrence, Alex Robert\n" "Copyright \xc2\xa9 2000-2002 Chema Celorio, Paolo Maggi\n" - "Copyright \xc2\xa9 2003-2006 Paolo Maggi"; + "Copyright \xc2\xa9 2003-2005 Paolo Maggi"; static const gchar comments[] = \ N_("gedit is a small and lightweight text editor for the " "GNOME Desktop"); - GdkPixbuf *logo; + static GdkPixbuf *logo = NULL; gedit_debug (DEBUG_COMMANDS); - logo = gdk_pixbuf_new_from_file (GNOME_ICONDIR "/gedit-logo.png", NULL); + if(!logo) + { + logo = gdk_pixbuf_new_from_file ( + GNOME_ICONDIR "/gedit-logo.png", + NULL); + } gtk_show_about_dialog (GTK_WINDOW (window), "authors", authors, @@ -95,7 +100,4 @@ gedit_cmd_help_about (GtkAction *action, "website", "http://www.gedit.org", "name", _("gedit"), NULL); - - if (logo) - g_object_unref (logo); } |