summaryrefslogtreecommitdiff
path: root/applets/wncklet/window-list.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-12 07:03:23 -0800
committerStefano Karapetsas <[email protected]>2012-11-12 07:03:23 -0800
commit24ac184b8026e9628f8589938399c703101b6276 (patch)
treea508028c3e29b1fd74d50fb7226625a128cb7500 /applets/wncklet/window-list.c
parentcc9615065c128be5924a12df50abfda0c6b74a3a (diff)
parentb94aaf81d04f87cfcfde76b68876fbc0d27a8deb (diff)
downloadmate-panel-24ac184b8026e9628f8589938399c703101b6276.tar.bz2
mate-panel-24ac184b8026e9628f8589938399c703101b6276.tar.xz
Merge pull request #52 from sbalneav/master
Updates to mate-panel
Diffstat (limited to 'applets/wncklet/window-list.c')
-rw-r--r--applets/wncklet/window-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index bd4355a3..490b56e5 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -549,7 +549,8 @@ static void group_windows_toggled(GtkToggleButton* button, TasklistData* tasklis
{
if (gtk_toggle_button_get_active(button))
{
- gint value = g_object_get_data(G_OBJECT(button), "group_value");
+ gint value;
+ g_object_get (G_OBJECT(button), "group_value", &value);
g_settings_set_enum (tasklist->settings, "group-windows", value);
}
}