[Xfce4-commits] <xfce4-panel:devel> Remove some useless menu destroys.

Nick Schermer noreply at xfce.org
Mon Feb 22 13:26:01 CET 2010


Updating branch refs/heads/devel
         to 10a5d3652ad880ad76ade00ded3832f7245c24ec (commit)
       from 323c4bf3e0ec013812932ceab0bf7e06570095f6 (commit)

commit 10a5d3652ad880ad76ade00ded3832f7245c24ec
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Feb 22 12:39:15 2010 +0100

    Remove some useless menu destroys.

 plugins/launcher/launcher.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 197c740..b9557ff 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -893,7 +893,6 @@ launcher_plugin_file_changed (GFileMonitor      *monitor,
     {
       launcher_plugin_button_update (plugin);
       launcher_plugin_menu_destroy (plugin);
-      launcher_plugin_menu_destroy (plugin);
 
       /* save the new config */
       g_object_notify (G_OBJECT (plugin), "items");
@@ -1216,9 +1215,6 @@ launcher_plugin_screen_position_changed (XfcePanelPlugin    *panel_plugin,
   /* set the new arrow direction */
   xfce_arrow_button_set_arrow_type (XFCE_ARROW_BUTTON (plugin->arrow),
       xfce_panel_plugin_arrow_type (panel_plugin));
-
-  /* destroy the menu */
-  launcher_plugin_menu_destroy (plugin);
 }
 
 



More information about the Xfce4-commits mailing list