summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelson Marques <[email protected]>2012-12-20 18:23:35 +0000
committerNelson Marques <[email protected]>2012-12-20 18:23:35 +0000
commitf0aeb0b9d42789747546fc9350ea2d0c8c78f568 (patch)
tree2b17a0d591765f06b1f2810f3153bfc913e66eae
parent49678c6e1d301405d43e77554d9a06ac14717f8a (diff)
downloadmate-panel-f0aeb0b9d42789747546fc9350ea2d0c8c78f568.tar.bz2
mate-panel-f0aeb0b9d42789747546fc9350ea2d0c8c78f568.tar.xz
Fix missing NULL pointer
-rw-r--r--applets/wncklet/window-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index 490b56e5..cdcb1d7a 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -550,7 +550,7 @@ static void group_windows_toggled(GtkToggleButton* button, TasklistData* tasklis
if (gtk_toggle_button_get_active(button))
{
gint value;
- g_object_get (G_OBJECT(button), "group_value", &value);
+ g_object_get (G_OBJECT(button), "group_value", &value, NULL);
g_settings_set_enum (tasklist->settings, "group-windows", value);
}
}