[gnome-photos] flickr-item: Style fix



commit b42f0c4e8c5b2543f94eebb6156379d118f336f0
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Jan 2 09:10:14 2018 +0100

    flickr-item: Style fix

 src/photos-flickr-item.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/photos-flickr-item.c b/src/photos-flickr-item.c
index d99e1d86..5ef63d8c 100644
--- a/src/photos-flickr-item.c
+++ b/src/photos-flickr-item.c
@@ -348,8 +348,7 @@ photos_flickr_item_open (PhotosBaseItem *item, GtkWindow *parent, guint32 timest
   {
     g_autoptr (GError) error = NULL;
 
-    gtk_show_uri_on_window (parent, flickr_uri, timestamp, &error);
-    if (error != NULL)
+    if (!gtk_show_uri_on_window (parent, flickr_uri, timestamp, &error))
       g_warning ("Unable to show URI %s: %s", flickr_uri, error->message);
   }
 }


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