[gnome-games] GTK_STOCK_FULLSCREEN only exists on gtk >= 2.8
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] GTK_STOCK_FULLSCREEN only exists on gtk >= 2.8
- Date: Mon, 1 Jun 2009 18:58:41 -0400 (EDT)
commit 0fff5499ed34debcf73c964ef14c19de68c29c77
Author: Christian Persch <chpe gnome org>
Date: Tue Jun 2 00:09:40 2009 +0200
GTK_STOCK_FULLSCREEN only exists on gtk >= 2.8
---
libgames-support/games-stock.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libgames-support/games-stock.c b/libgames-support/games-stock.c
index cfaf739..4fc832d 100644
--- a/libgames-support/games-stock.c
+++ b/libgames-support/games-stock.c
@@ -271,7 +271,10 @@ games_stock_init (void)
{ GAMES_STOCK_NEW_GAME, GTK_STOCK_NEW },
{ GAMES_STOCK_RESET, GTK_STOCK_CLEAR },
{ GAMES_STOCK_RESTART_GAME, GTK_STOCK_REFRESH },
+#if GTK_CHECK_VERSION (2, 8, 0)
+ /* This is used on hildon too, but only exists since 2.8 */
{ GAMES_STOCK_FULLSCREEN, GTK_STOCK_FULLSCREEN },
+#endif
#ifdef HAVE_GTK_ICON_FACTORY_ADD_ALIAS
{ GAMES_STOCK_REDO_MOVE, GTK_STOCK_REDO },
{ GAMES_STOCK_UNDO_MOVE, GTK_STOCK_UNDO },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]