[Xfce4-commits] <mousepad:master> * mousepad/mousepad-window.c: Rename function so it matches the standard mousepad_window_* names.

Nick Schermer noreply at xfce.org
Sat May 5 21:30:31 CEST 2012


Updating branch refs/heads/master
         to a4f297b08aa19d2aa06c969d821af3590a231a2a (commit)
       from 9fbd9fdc5d6123223d4ffe75a3407f44425c9548 (commit)

commit a4f297b08aa19d2aa06c969d821af3590a231a2a
Author: Nick Schermer <nick at xfce.org>
Date:   Tue May 8 17:17:37 2007 +0000

    	* mousepad/mousepad-window.c: Rename function so it matches
    	  the standard mousepad_window_* names.
    
    (Old svn revision: 25688)

 ChangeLog                  |    5 +++++
 mousepad/mousepad-window.c |   10 +++++-----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2ccec85..ea45543 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
 2007-05-08	Nick Schermer <nick at xfce.org>
+	* mousepad/mousepad-window.c: Rename function so it matches
+	  the standard mousepad_window_* names.
+
+
+2007-05-08	Nick Schermer <nick at xfce.org>
 	* mousepad/mousepad-window.c: Open a new tab when the notebook
 	  is double clicked. Also fix some indentation.
 
diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
index 54455b3..4f50997 100644
--- a/mousepad/mousepad-window.c
+++ b/mousepad/mousepad-window.c
@@ -116,7 +116,7 @@ static void              mousepad_window_tab_popup_position           (GtkMenu
                                                                        gint                   *y,
                                                                        gboolean               *push_in,
                                                                        gpointer                user_data);
-static gboolean          mousepad_notebook_button_press_event         (GtkNotebook            *notebook,
+static gboolean          mousepad_window_notebook_button_press_event  (GtkNotebook            *notebook,
                                                                        GdkEventButton         *event,
                                                                        MousepadWindow         *window);
 
@@ -560,7 +560,7 @@ mousepad_window_init (MousepadWindow *window)
   g_signal_connect (G_OBJECT (window->notebook), "page-reordered", G_CALLBACK (mousepad_window_page_reordered), window);
   g_signal_connect (G_OBJECT (window->notebook), "page-added", G_CALLBACK (mousepad_window_page_added), window);
   g_signal_connect (G_OBJECT (window->notebook), "page-removed", G_CALLBACK (mousepad_window_page_removed), window);
-  g_signal_connect (G_OBJECT (window->notebook), "button-press-event", G_CALLBACK (mousepad_notebook_button_press_event), window);
+  g_signal_connect (G_OBJECT (window->notebook), "button-press-event", G_CALLBACK (mousepad_window_notebook_button_press_event), window);
 
   /* append and show the notebook */
   gtk_table_attach (GTK_TABLE (window->table), window->notebook, 0, 1, 3, 4, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
@@ -1350,9 +1350,9 @@ mousepad_window_tab_popup_position (GtkMenu  *menu,
 
 
 static gboolean
-mousepad_notebook_button_press_event (GtkNotebook    *notebook,
-                                      GdkEventButton *event,
-                                      MousepadWindow *window)
+mousepad_window_notebook_button_press_event (GtkNotebook    *notebook,
+                                             GdkEventButton *event,
+                                             MousepadWindow *window)
 {
   GtkWidget *page, *label;
   GtkWidget *menu;


More information about the Xfce4-commits mailing list