summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-04-29 14:17:53 +0200
committerraveit65 <[email protected]>2019-05-10 10:18:54 +0200
commit9653efed2e65791ee041b4c467d739b4fdaed9f5 (patch)
tree9efbaef8bfa1344238ad7e6e7c89af39988ac045 /mate-window-picker-applet
parent30e3cf24616624c609b21d97db939ea1e581ac11 (diff)
downloadmate-netbook-9653efed2e65791ee041b4c467d739b4fdaed9f5.tar.bz2
mate-netbook-9653efed2e65791ee041b4c467d739b4fdaed9f5.tar.xz
Remove unused variable declaration in applet.c and task-list.c
Diffstat (limited to 'mate-window-picker-applet')
-rw-r--r--mate-window-picker-applet/applet.c2
-rw-r--r--mate-window-picker-applet/task-list.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/mate-window-picker-applet/applet.c b/mate-window-picker-applet/applet.c
index 34408c0..6e362d4 100644
--- a/mate-window-picker-applet/applet.c
+++ b/mate-window-picker-applet/applet.c
@@ -153,7 +153,6 @@ cw_applet_fill (MatePanelApplet *applet,
const gchar *iid,
gpointer data)
{
- WnckScreen *screen;
WinPickerApp *app;
GtkWidget *eb, *tasks, *title;
gchar *ui_path;
@@ -174,7 +173,6 @@ cw_applet_fill (MatePanelApplet *applet,
app = g_slice_new0 (WinPickerApp);
mainapp = app;
- screen = wnck_screen_get_default ();
object_class = G_OBJECT_GET_CLASS (G_OBJECT(applet));
object_class->finalize = cw_applet_finalize;
diff --git a/mate-window-picker-applet/task-list.c b/mate-window-picker-applet/task-list.c
index 613d03d..01ca46a 100644
--- a/mate-window-picker-applet/task-list.c
+++ b/mate-window-picker-applet/task-list.c
@@ -93,10 +93,6 @@ on_window_opened (WnckScreen *screen,
static void
task_list_finalize (GObject *object)
{
- TaskListPrivate *priv;
-
- priv = TASK_LIST_GET_PRIVATE (object);
-
G_OBJECT_CLASS (task_list_parent_class)->finalize (object);
}