[gnome-panel] panel: Add comments about keeping in sync code that was copied



commit 12abd2c8f73edbf7dbf609dbace817529b5a250e
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Feb 22 21:58:11 2011 +0100

    panel: Add comments about keeping in sync code that was copied
    
    Since we copied the code to libpanel-applet, we want to make sure
    changes go there too.

 gnome-panel/panel-bindings.c |    3 +++
 gnome-panel/panel-util.c     |    3 +++
 gnome-panel/panel-xutils.c   |    3 +++
 3 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gnome-panel/panel-bindings.c b/gnome-panel/panel-bindings.c
index 9dbc858..71b28f9 100644
--- a/gnome-panel/panel-bindings.c
+++ b/gnome-panel/panel-bindings.c
@@ -162,6 +162,9 @@ panel_binding_watch (PanelBinding *binding,
 	}
 }
 
+/*
+ * Keep code in panel-applet-bindings.c in sync!
+ */
 static void
 panel_bindings_mouse_modifier_set_from_string (const char *str)
 {
diff --git a/gnome-panel/panel-util.c b/gnome-panel/panel-util.c
index 5ad11dd..5c62564 100644
--- a/gnome-panel/panel-util.c
+++ b/gnome-panel/panel-util.c
@@ -1225,6 +1225,9 @@ panel_util_get_file_optional_homedir (const char *location)
 	return file;
 }
 
+/*
+ * Keep code in panel-applet-bindings.c in sync!
+ */
 static void
 panel_util_key_event_is_binding (GdkEventKey *event,
 				 GType        type,
diff --git a/gnome-panel/panel-xutils.c b/gnome-panel/panel-xutils.c
index 6f2049b..2ba43db 100644
--- a/gnome-panel/panel-xutils.c
+++ b/gnome-panel/panel-xutils.c
@@ -171,6 +171,9 @@ panel_warp_pointer (GdkWindow *gdk_window,
 	gdk_error_trap_pop_ignored ();
 }
 
+/*
+ * Keep code in panel-applet-bindings.c in sync!
+ */
 guint
 panel_get_real_modifier_mask (guint mask)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]