[gthumb] don't use the logo if it's null



commit ea158f7bed87f58ef764530357c09c7252851fa8
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Aug 15 16:01:29 2010 +0200

    don't use the logo if it's null

 gthumb/gth-browser-actions-callbacks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-browser-actions-callbacks.c b/gthumb/gth-browser-actions-callbacks.c
index 17fc608..474f7e7 100644
--- a/gthumb/gth-browser-actions-callbacks.c
+++ b/gthumb/gth-browser-actions-callbacks.c
@@ -401,7 +401,7 @@ gth_browser_activate_action_help_about (GtkAction *action,
 			       "license", license_text,
 			       "wrap-license", TRUE,
 			       "website", "http://live.gnome.org/gthumb";,
-			       "logo", logo,
+			       (logo != NULL ? "logo" : NULL), logo,
 			       NULL);
 
 	_g_object_unref (logo);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]