Fix simple, unused variable warnings

This commit is contained in:
Jasper St. Pierre 2013-09-10 16:00:49 -04:00
parent 1cc9480e56
commit d46ceead04
5 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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)

View File

@ -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;

View File

@ -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);

View File

@ -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));