[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 27/331] Coding style changes from review



commit e6b7a2116ca81e33cbbdf5eccd3ee0b21db3a92e
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Feb 4 16:46:20 2016 +1300

    Coding style changes from review

 src/gs-shell-details.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index c7a8310..b47037b 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -969,7 +969,7 @@ gs_shell_details_refresh_reviews (GsShellDetails *self)
        gs_container_remove_all (GTK_CONTAINER (self->list_box_reviews));
 
        /* If you haven't reviewed it, do it now */
-       gtk_widget_set_visible (self->button_review, !gs_app_get_self_review (self->app));
+       gtk_widget_set_visible (self->button_review, gs_app_get_self_review (self->app) == NULL);
 
        reviews = gs_app_get_reviews (self->app);
        for (i = 0; i < reviews->len; i++) {


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