[gedit/new-message-bus] Remove send_message_sync_real



commit 1a13b8e7463edd82ccaab162d822fea9a08025b7
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Wed Mar 23 23:08:08 2011 +0100

    Remove send_message_sync_real

 gedit/gedit-message-bus.c |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/gedit/gedit-message-bus.c b/gedit/gedit-message-bus.c
index 7939840..e8664d5 100644
--- a/gedit/gedit-message-bus.c
+++ b/gedit/gedit-message-bus.c
@@ -1123,13 +1123,6 @@ gedit_message_bus_send_message (GeditMessageBus *bus,
 	send_message_real (bus, message);
 }
 
-static void
-send_message_sync_real (GeditMessageBus *bus,
-                        GeditMessage    *message)
-{
-	dispatch_message (bus, message);
-}
-
 /**
  * gedit_message_bus_send_message_sync:
  * @bus: a #GeditMessageBus
@@ -1148,7 +1141,7 @@ gedit_message_bus_send_message_sync (GeditMessageBus *bus,
 	g_return_if_fail (GEDIT_IS_MESSAGE_BUS (bus));
 	g_return_if_fail (GEDIT_IS_MESSAGE (message));
 
-	send_message_sync_real (bus, message);
+	dispatch_message (bus, message);
 }
 
 static GeditMessage *
@@ -1268,7 +1261,7 @@ gedit_message_bus_send_sync (GeditMessageBus *bus,
 
 	if (message)
 	{
-		send_message_sync_real (bus, message);
+		dispatch_message (bus, message);
 	}
 
 	va_end (var_args);



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