[gnome-nibbles] Remove games-stock.h from Fullscreen



commit ae492588012959975e2b3a430adc2e16ce165608
Author: Bryan Quigley <bryanquigs src gnome org>
Date:   Sat Apr 20 16:56:50 2013 -0400

    Remove games-stock.h from Fullscreen

 src/games-fullscreen-action.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/games-fullscreen-action.c b/src/games-fullscreen-action.c
index 5943df0..abbc615 100644
--- a/src/games-fullscreen-action.c
+++ b/src/games-fullscreen-action.c
@@ -22,7 +22,6 @@
 #include <glib/gi18n.h>
 
 #include "games-fullscreen-action.h"
-#include "games-stock.h"
 
 enum {
     PROP_0,
@@ -52,14 +51,14 @@ update_action (GamesFullscreenAction *action)
     gboolean visible = TRUE;
   
     if (action->priv->is_fullscreen) {
-        gtk_action_set_stock_id (GTK_ACTION (action), GAMES_STOCK_LEAVE_FULLSCREEN);
+        gtk_action_set_stock_id (GTK_ACTION (action), GTK_STOCK_LEAVE_FULLSCREEN);
         if (action->priv->visible_policy == GAMES_FULLSCREEN_ACTION_VISIBLE_ON_UNFULLSCREEN)
             visible = FALSE;
     }
     else {
         if (action->priv->visible_policy == GAMES_FULLSCREEN_ACTION_VISIBLE_ON_FULLSCREEN)
             visible = FALSE;
-        gtk_action_set_stock_id (GTK_ACTION (action), GAMES_STOCK_FULLSCREEN);
+        gtk_action_set_stock_id (GTK_ACTION (action), GTK_STOCK_FULLSCREEN);
     }
 
     gtk_action_set_visible (GTK_ACTION (action), visible);


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