Fix simple, unused variable warnings
This commit is contained in:
parent
1cc9480e56
commit
d46ceead04
@ -324,7 +324,6 @@ static gboolean
|
|||||||
gnome_shell_plugin_xevent_filter (MetaPlugin *plugin,
|
gnome_shell_plugin_xevent_filter (MetaPlugin *plugin,
|
||||||
XEvent *xev)
|
XEvent *xev)
|
||||||
{
|
{
|
||||||
MetaScreen *screen = meta_plugin_get_screen (plugin);
|
|
||||||
GnomeShellPlugin *shell_plugin = GNOME_SHELL_PLUGIN (plugin);
|
GnomeShellPlugin *shell_plugin = GNOME_SHELL_PLUGIN (plugin);
|
||||||
|
|
||||||
#ifdef GLX_INTEL_swap_event
|
#ifdef GLX_INTEL_swap_event
|
||||||
|
@ -829,8 +829,6 @@ int
|
|||||||
shell_app_compare (ShellApp *app,
|
shell_app_compare (ShellApp *app,
|
||||||
ShellApp *other)
|
ShellApp *other)
|
||||||
{
|
{
|
||||||
gboolean vis_app, vis_other;
|
|
||||||
|
|
||||||
if (app->state != other->state)
|
if (app->state != other->state)
|
||||||
{
|
{
|
||||||
if (app->state == SHELL_APP_STATE_RUNNING)
|
if (app->state == SHELL_APP_STATE_RUNNING)
|
||||||
|
@ -189,7 +189,6 @@ st_box_layout_get_property (GObject *object,
|
|||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec)
|
GParamSpec *pspec)
|
||||||
{
|
{
|
||||||
StBoxLayoutPrivate *priv = ST_BOX_LAYOUT (object)->priv;
|
|
||||||
ClutterLayoutManager *layout;
|
ClutterLayoutManager *layout;
|
||||||
StAdjustment *adjustment;
|
StAdjustment *adjustment;
|
||||||
ClutterOrientation orientation;
|
ClutterOrientation orientation;
|
||||||
@ -531,7 +530,6 @@ st_box_layout_get_paint_volume (ClutterActor *actor,
|
|||||||
static void
|
static void
|
||||||
st_box_layout_style_changed (StWidget *self)
|
st_box_layout_style_changed (StWidget *self)
|
||||||
{
|
{
|
||||||
StBoxLayoutPrivate *priv = ST_BOX_LAYOUT (self)->priv;
|
|
||||||
StThemeNode *theme_node = st_widget_get_theme_node (self);
|
StThemeNode *theme_node = st_widget_get_theme_node (self);
|
||||||
ClutterBoxLayout *layout;
|
ClutterBoxLayout *layout;
|
||||||
double spacing;
|
double spacing;
|
||||||
|
@ -287,7 +287,6 @@ key_is_modifier (guint16 keyval)
|
|||||||
static GdkEventKey *
|
static GdkEventKey *
|
||||||
key_event_to_gdk (ClutterKeyEvent *event_clutter)
|
key_event_to_gdk (ClutterKeyEvent *event_clutter)
|
||||||
{
|
{
|
||||||
GdkDisplay *display = gdk_display_get_default ();
|
|
||||||
GdkEventKey *event_gdk;
|
GdkEventKey *event_gdk;
|
||||||
event_gdk = (GdkEventKey *)gdk_event_new ((event_clutter->type == CLUTTER_KEY_PRESS) ?
|
event_gdk = (GdkEventKey *)gdk_event_new ((event_clutter->type == CLUTTER_KEY_PRESS) ?
|
||||||
GDK_KEY_PRESS : GDK_KEY_RELEASE);
|
GDK_KEY_PRESS : GDK_KEY_RELEASE);
|
||||||
|
@ -96,7 +96,6 @@ st_scroll_view_fade_paint_target (ClutterOffscreenEffect *effect)
|
|||||||
StScrollViewFade *self = ST_SCROLL_VIEW_FADE (effect);
|
StScrollViewFade *self = ST_SCROLL_VIEW_FADE (effect);
|
||||||
ClutterShaderEffect *shader = CLUTTER_SHADER_EFFECT (effect);
|
ClutterShaderEffect *shader = CLUTTER_SHADER_EFFECT (effect);
|
||||||
ClutterOffscreenEffectClass *parent;
|
ClutterOffscreenEffectClass *parent;
|
||||||
CoglHandle material;
|
|
||||||
|
|
||||||
gdouble value, lower, upper, page_size;
|
gdouble value, lower, upper, page_size;
|
||||||
ClutterActor *vscroll = st_scroll_view_get_vscroll_bar (ST_SCROLL_VIEW (self->actor));
|
ClutterActor *vscroll = st_scroll_view_get_vscroll_bar (ST_SCROLL_VIEW (self->actor));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user