[Xfce4-commits] <xfce4-panel:xfce-4.10> Ignore GVarueArray compiler warning.

Nick Schermer noreply at xfce.org
Sun May 5 17:50:07 CEST 2013


Updating branch refs/heads/xfce-4.10
         to 217e17d630271b1bf5ab6fa5300a33b884faddea (commit)
       from 1965297cc4b9e1e50e90fa2b04c96fa833592737 (commit)

commit 217e17d630271b1bf5ab6fa5300a33b884faddea
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Dec 2 13:20:45 2012 +0100

    Ignore GVarueArray compiler warning.
    
    (cherry picked from commit 078ef77ff384a6a3c0035d4c8101769627767ea8)

 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