[gnome-panel] bonobo: Stop using deprecated gdk_display



commit d783d589b387ed5a16ad347591dcc9edf9f638b5
Author: Vincent Untz <vuntz gnome org>
Date:   Tue Sep 14 15:03:36 2010 +0200

    bonobo: Stop using deprecated gdk_display

 bonobo/libpanel-applet/panel-applet.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bonobo/libpanel-applet/panel-applet.c b/bonobo/libpanel-applet/panel-applet.c
index 7f8c7b7..9fe7e9b 100644
--- a/bonobo/libpanel-applet/panel-applet.c
+++ b/bonobo/libpanel-applet/panel-applet.c
@@ -1783,7 +1783,7 @@ panel_applet_factory_main_closure (const gchar *iid,
 	data = panel_applet_callback_data_new (applet_type, closure);
 
 	display_iid = bonobo_activation_make_registration_id (
-		iid, DisplayString (gdk_display));
+		iid, DisplayString (gdk_display_get_default ()));
 	retval = bonobo_generic_factory_main (
 		display_iid,
 		(BonoboFactoryCallback) panel_applet_factory_callback,



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