[gnome-photos/gnome-3-16] mode-controller: Fix typo
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-16] mode-controller: Fix typo
- Date: Wed, 7 Oct 2015 13:32:16 +0000 (UTC)
commit 08ea9ff8d5c2e542c87e174a5038c52056d05182
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]