default plugin: Clean up unused n_workspaces variable.
n_workspaces is unused, which may cause compilation errors under certain environments. https://bugzilla.gnome.org/show_bug.cgi?id=639458
This commit is contained in:
parent
565f002bc4
commit
7e53094044
1 changed files with 0 additions and 4 deletions
|
@ -319,12 +319,10 @@ switch_workspace (MetaPlugin *plugin,
|
|||
{
|
||||
MetaDefaultPluginPrivate *priv = META_DEFAULT_PLUGIN (plugin)->priv;
|
||||
GList *l;
|
||||
gint n_workspaces;
|
||||
ClutterActor *workspace0 = clutter_group_new ();
|
||||
ClutterActor *workspace1 = clutter_group_new ();
|
||||
ClutterActor *stage;
|
||||
int screen_width, screen_height;
|
||||
MetaScreen *screen = meta_plugin_get_screen (plugin);
|
||||
ClutterAnimation *animation;
|
||||
|
||||
stage = meta_plugin_get_stage (plugin);
|
||||
|
@ -350,8 +348,6 @@ switch_workspace (MetaPlugin *plugin,
|
|||
return;
|
||||
}
|
||||
|
||||
n_workspaces = meta_screen_get_n_workspaces (screen);
|
||||
|
||||
l = g_list_last (meta_plugin_get_window_actors (plugin));
|
||||
|
||||
while (l)
|
||||
|
|
Loading…
Reference in a new issue