devhelp r1178 - in trunk: . src



Author: herzi
Date: Thu Oct  9 17:43:13 2008
New Revision: 1178
URL: http://svn.gnome.org/viewvc/devhelp?rev=1178&view=rev

Log:
2008-10-09  Sven Herzberg  <sven imendio com>

	Drop the "_cp" suffix of the old callbacks, now they are vfunc
	implementations

	* src/dh-assistant-view.c: for more consistency with the rest of the
	code


Modified:
   trunk/ChangeLog
   trunk/src/dh-assistant-view.c

Modified: trunk/src/dh-assistant-view.c
==============================================================================
--- trunk/src/dh-assistant-view.c	(original)
+++ trunk/src/dh-assistant-view.c	Thu Oct  9 17:43:13 2008
@@ -73,9 +73,9 @@
 }
 
 static WebKitNavigationResponse
-assistant_navigation_requested_cb (WebKitWebView        *web_view,
-                                   WebKitWebFrame       *frame,
-                                   WebKitNetworkRequest *request)
+assistant_navigation_requested (WebKitWebView        *web_view,
+                                WebKitWebFrame       *frame,
+                                WebKitNetworkRequest *request)
 {
         DhAssistantView *self;
         const gchar     *uri;
@@ -99,8 +99,8 @@
 }
 
 static gboolean
-assistant_button_press_event_cb (GtkWidget      *widget,
-                                 GdkEventButton *event)
+assistant_button_press_event (GtkWidget      *widget,
+                              GdkEventButton *event)
 {
         /* Block webkit's builtin context menu. */
         if (event->button != 1) {
@@ -119,9 +119,9 @@
 
         object_class->finalize = view_finalize;
 
-        widget_class->button_press_event = assistant_button_press_event_cb;
+        widget_class->button_press_event = assistant_button_press_event;
 
-        web_view_class->navigation_requested = assistant_navigation_requested_cb;
+        web_view_class->navigation_requested = assistant_navigation_requested;
 }
 
 DhBase*



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