[Xfce4-commits] <xfce4-panel:master> Small cleanup since gdk_event_get_time() accepts NULL.

Nick Schermer noreply at xfce.org
Tue Jun 1 18:46:01 CEST 2010


Updating branch refs/heads/master
         to 237e89d8f693f1089f25fddf247ebc8b4a3e5353 (commit)
       from 320b58d9c52f0c3beeea4883d7e1c5c3dd33a74a (commit)

commit 237e89d8f693f1089f25fddf247ebc8b4a3e5353
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Jun 1 18:44:36 2010 +0200

    Small cleanup since gdk_event_get_time() accepts NULL.

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

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index d6fd8ae..e00f9ce 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -1330,7 +1330,7 @@ launcher_plugin_menu_item_activate (GtkMenuItem      *widget,
 
   /* get a copy of the event causing the menu item to activate */
   event = gtk_get_current_event ();
-  event_time = event != NULL ? gdk_event_get_time (event) : GDK_CURRENT_TIME;
+  event_time = gdk_event_get_time (event);
 
   /* get the widget screen */
   screen = gtk_widget_get_screen (GTK_WIDGET (widget));



More information about the Xfce4-commits mailing list