[gnome-shell] Fix simple, unused variable warnings



commit d46ceead042ff8978af4e03a58b86f306d7fca7c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 10 16:00:49 2013 -0400

    Fix simple, unused variable warnings

 src/gnome-shell-plugin.c     |    1 -
 src/shell-app.c              |    2 --
 src/st/st-box-layout.c       |    2 --
 src/st/st-im-text.c          |    1 -
 src/st/st-scroll-view-fade.c |    1 -
 5 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/gnome-shell-plugin.c b/src/gnome-shell-plugin.c
index dbbc967..631e373 100644
--- a/src/gnome-shell-plugin.c
+++ b/src/gnome-shell-plugin.c
@@ -324,7 +324,6 @@ static gboolean
 gnome_shell_plugin_xevent_filter (MetaPlugin *plugin,
                                   XEvent     *xev)
 {
-  MetaScreen *screen = meta_plugin_get_screen (plugin);
   GnomeShellPlugin *shell_plugin = GNOME_SHELL_PLUGIN (plugin);
 
 #ifdef GLX_INTEL_swap_event
diff --git a/src/shell-app.c b/src/shell-app.c
index cbf40ca..0218c13 100644
--- a/src/shell-app.c
+++ b/src/shell-app.c
@@ -829,8 +829,6 @@ int
 shell_app_compare (ShellApp *app,
                    ShellApp *other)
 {
-  gboolean vis_app, vis_other;
-
   if (app->state != other->state)
     {
       if (app->state == SHELL_APP_STATE_RUNNING)
diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c
index 6281819..91e93a5 100644
--- a/src/st/st-box-layout.c
+++ b/src/st/st-box-layout.c
@@ -189,7 +189,6 @@ st_box_layout_get_property (GObject    *object,
                             GValue     *value,
                             GParamSpec *pspec)
 {
-  StBoxLayoutPrivate *priv = ST_BOX_LAYOUT (object)->priv;
   ClutterLayoutManager *layout;
   StAdjustment *adjustment;
   ClutterOrientation orientation;
@@ -531,7 +530,6 @@ st_box_layout_get_paint_volume (ClutterActor       *actor,
 static void
 st_box_layout_style_changed (StWidget *self)
 {
-  StBoxLayoutPrivate *priv = ST_BOX_LAYOUT (self)->priv;
   StThemeNode *theme_node = st_widget_get_theme_node (self);
   ClutterBoxLayout *layout;
   double spacing;
diff --git a/src/st/st-im-text.c b/src/st/st-im-text.c
index ff110f1..624a067 100644
--- a/src/st/st-im-text.c
+++ b/src/st/st-im-text.c
@@ -287,7 +287,6 @@ key_is_modifier (guint16 keyval)
 static GdkEventKey *
 key_event_to_gdk (ClutterKeyEvent *event_clutter)
 {
-  GdkDisplay *display = gdk_display_get_default ();
   GdkEventKey *event_gdk;
   event_gdk = (GdkEventKey *)gdk_event_new ((event_clutter->type == CLUTTER_KEY_PRESS) ?
                                             GDK_KEY_PRESS : GDK_KEY_RELEASE);
diff --git a/src/st/st-scroll-view-fade.c b/src/st/st-scroll-view-fade.c
index 71ad3ce..3c0c26b 100644
--- a/src/st/st-scroll-view-fade.c
+++ b/src/st/st-scroll-view-fade.c
@@ -96,7 +96,6 @@ st_scroll_view_fade_paint_target (ClutterOffscreenEffect *effect)
   StScrollViewFade *self = ST_SCROLL_VIEW_FADE (effect);
   ClutterShaderEffect *shader = CLUTTER_SHADER_EFFECT (effect);
   ClutterOffscreenEffectClass *parent;
-  CoglHandle material;
 
   gdouble value, lower, upper, page_size;
   ClutterActor *vscroll = st_scroll_view_get_vscroll_bar (ST_SCROLL_VIEW (self->actor));


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