diff options
author | Scott Balneaves <[email protected]> | 2012-11-12 08:54:33 -0600 |
---|---|---|
committer | Scott Balneaves <[email protected]> | 2012-11-12 08:54:33 -0600 |
commit | b94aaf81d04f87cfcfde76b68876fbc0d27a8deb (patch) | |
tree | a508028c3e29b1fd74d50fb7226625a128cb7500 /applets | |
parent | cc9615065c128be5924a12df50abfda0c6b74a3a (diff) | |
download | mate-panel-b94aaf81d04f87cfcfde76b68876fbc0d27a8deb.tar.bz2 mate-panel-b94aaf81d04f87cfcfde76b68876fbc0d27a8deb.tar.xz |
Code audit: fix compile warnings, uninitialized pointer problems
Diffstat (limited to 'applets')
-rw-r--r-- | applets/wncklet/window-list.c | 3 |
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); } } |