[gnome-photos/wip/rishi/fullscreen: 4/5] mode-controller: Fix typo



commit b97410ad1caa6822c8bf8228f5daf27cf83b0f3a
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Oct 6 17:38:49 2015 +0200

    mode-controller: Fix typo
    
    The return types are obviously gboolean, not PhotoWindowMode, even
    though the C compiler doesn't notice the difference.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756131

 src/photos-mode-controller.c |    4 ++--
 src/photos-mode-controller.h |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/photos-mode-controller.c b/src/photos-mode-controller.c
index dc9573b..b2a0e9c 100644
--- a/src/photos-mode-controller.c
+++ b/src/photos-mode-controller.c
@@ -158,14 +158,14 @@ photos_mode_controller_dup_singleton (void)
 }
 
 
-PhotosWindowMode
+gboolean
 photos_mode_controller_get_can_fullscreen (PhotosModeController *self)
 {
   return self->priv->can_fullscreen;
 }
 
 
-PhotosWindowMode
+gboolean
 photos_mode_controller_get_fullscreen (PhotosModeController *self)
 {
   return self->priv->fullscreen;
diff --git a/src/photos-mode-controller.h b/src/photos-mode-controller.h
index dfd1e1d..6eb13af 100644
--- a/src/photos-mode-controller.h
+++ b/src/photos-mode-controller.h
@@ -1,6 +1,6 @@
 /*
  * Photos - access, organize and share your photos on GNOME
- * Copyright © 2012, 2013, 2014 Red Hat, Inc.
+ * Copyright © 2012, 2013, 2014, 2015 Red Hat, Inc.
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -84,9 +84,9 @@ GType                  photos_mode_controller_get_type               (void) G_GN
 
 PhotosModeController  *photos_mode_controller_dup_singleton          (void);
 
-PhotosWindowMode       photos_mode_controller_get_can_fullscreen     (PhotosModeController *self);
+gboolean               photos_mode_controller_get_can_fullscreen     (PhotosModeController *self);
 
-PhotosWindowMode       photos_mode_controller_get_fullscreen         (PhotosModeController *self);
+gboolean               photos_mode_controller_get_fullscreen         (PhotosModeController *self);
 
 PhotosWindowMode       photos_mode_controller_get_window_mode        (PhotosModeController *self);
 


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