[Goodies-commits] r1764 - xfce4-clipman-plugin/trunk/panel-plugin

Nick Schermer nick at xfce.org
Thu Jul 13 21:38:48 CEST 2006


Author: nick
Date: 2006-07-13 19:38:48 +0000 (Thu, 13 Jul 2006)
New Revision: 1764

Modified:
   xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
   xfce4-clipman-plugin/trunk/panel-plugin/clipman.h
Log:
* Fix some small problems


Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman.c	2006-07-13 19:08:00 UTC (rev 1763)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman.c	2006-07-13 19:38:48 UTC (rev 1764)
@@ -111,7 +111,7 @@
     }
 }
 
-gchar *
+static gchar *
 clipman_create_title (gchar *txt,
                       gint   chars)
 {
@@ -614,13 +614,13 @@
                  GdkEventButton *ev,
                  ClipmanPlugin  *clipman)
 {
-    if (ev->button != 1)
-	return FALSE;
-    
     GtkWidget *mi;
     GtkWidget *menu;
     gchar     *title;
     
+    if (ev->button != 1)
+	return FALSE;
+    
     gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (clipman->button), TRUE);
     
     menu = gtk_menu_new ();

Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman.h
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman.h	2006-07-13 19:08:00 UTC (rev 1763)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman.h	2006-07-13 19:38:48 UTC (rev 1764)
@@ -52,14 +52,14 @@
 typedef enum
 {
     PRIMARY = 0,
-    DEFAULT,
+    DEFAULT
 }
 ClipboardType;
 
 typedef enum
 {
     NORMAL = 0,
-    STRICTLY,
+    STRICTLY
 }
 ClipboardBehaviour;
 




More information about the Goodies-commits mailing list