summaryrefslogtreecommitdiff
path: root/applets/wncklet
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-12-20 12:30:05 -0800
committerStefano Karapetsas <[email protected]>2012-12-20 12:30:05 -0800
commitccb01dcefdbe73d0950052ca0592f22b404dc97e (patch)
tree2b17a0d591765f06b1f2810f3153bfc913e66eae /applets/wncklet
parent49678c6e1d301405d43e77554d9a06ac14717f8a (diff)
parentf0aeb0b9d42789747546fc9350ea2d0c8c78f568 (diff)
downloadmate-panel-ccb01dcefdbe73d0950052ca0592f22b404dc97e.tar.bz2
mate-panel-ccb01dcefdbe73d0950052ca0592f22b404dc97e.tar.xz
Merge pull request #66 from ketheriel/master
Fix null pointer in function
Diffstat (limited to 'applets/wncklet')
-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);
}
}