[Xfce4-commits] <xfce4-panel:master> Ignore GVarueArray compiler warning.
Nick Schermer
noreply at xfce.org
Sun Dec 16 18:16:01 CET 2012
Updating branch refs/heads/master
to 078ef77ff384a6a3c0035d4c8101769627767ea8 (commit)
from ce0e8e5dc6d034484b3cb72c5e7a7971a8883aeb (commit)
commit 078ef77ff384a6a3c0035d4c8101769627767ea8
Author: Nick Schermer <nick at xfce.org>
Date: Sun Dec 2 13:20:45 2012 +0100
Ignore GVarueArray compiler warning.
panel/panel-plugin-external-wrapper.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/panel/panel-plugin-external-wrapper.c b/panel/panel-plugin-external-wrapper.c
index fb6a202..06f6e63 100644
--- a/panel/panel-plugin-external-wrapper.c
+++ b/panel/panel-plugin-external-wrapper.c
@@ -270,8 +270,10 @@ panel_plugin_external_wrapper_set_properties (PanelPluginExternal *external,
/* send array to the wrapper */
g_signal_emit (G_OBJECT (external), external_signals[SET], 0, array);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
for (i = 0; i < array->len; i++)
g_value_array_free (g_ptr_array_index (array, i));
+ G_GNUC_END_IGNORE_DEPRECATIONS
g_ptr_array_free (array, TRUE);
g_value_unset (&message);
}
More information about the Xfce4-commits
mailing list