[epiphany/gnome-2-30] Do not use deprecated gdk_display



commit 44282d8315c4201799f90bcaac8fc49b93a9d6db
Author: Vincent Untz <vuntz gnome org>
Date:   Wed Sep 15 15:11:46 2010 +0200

    Do not use deprecated gdk_display

 src/ephy-main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-main.c b/src/ephy-main.c
index b4e55d6..dd7b69f 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -641,7 +641,7 @@ main (int argc,
 	/* Get a timestamp manually if need be */
 	if (user_time == 0)
 	{
-		user_time = slowly_and_stupidly_obtain_timestamp (gdk_display);
+		user_time = slowly_and_stupidly_obtain_timestamp (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
 	}
 
 	/* sets the name to appear in the window list applet when grouping windows */



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