summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-04-29 14:17:53 +0200
committerMartin Wimpress <[email protected]>2019-09-23 19:49:17 +0100
commit633425333c38d1cdadfbc29845f8dffb7680fc84 (patch)
tree03dc7f8a29db90c36a8571ae90c13f944f8457f8 /mate-window-picker-applet
parent7c81a8e052dd84c09d88934295ac35408bddd409 (diff)
downloadmate-netbook-633425333c38d1cdadfbc29845f8dffb7680fc84.tar.bz2
mate-netbook-633425333c38d1cdadfbc29845f8dffb7680fc84.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);
}