nigeltao / superswitcher

Automatically exported from code.google.com/p/superswitcher
GNU General Public License v2.0
1 stars 3 forks source link

GDK_DISPLAY has been deprecated since version 2.22 #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to compile under gnome

What is the expected output? What do you see instead?
Successful compile

What version of the product are you using? On what operating system?
0.6 from svn, OpenSUSE 11.4

Please provide any additional information below.
GDK_DISPLAY has been deprecated since version 2.22 and should not be used in 
newly-written code. Use gdk_display_get_default()

Here is command, which needs to be run in src folder. Works for me.
for f in *; do sed -i 's/gdk_display/GDK_DISPLAY_XDISPLAY 
(gdk_display_get_default ())/g' "$f" ; done

Original issue reported on code.google.com by jak...@gmail.com on 20 May 2011 at 6:37

GoogleCodeExporter commented 9 years ago
Alternatively you could use gdk_x11_get_default_xdisplay ().

Original comment by fransdej...@gmail.com on 10 Mar 2012 at 7:46

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r39.

Original comment by nigel.ta...@gmail.com on 9 Sep 2012 at 10:47

GoogleCodeExporter commented 9 years ago
Thanks for the patch. Sorry for the late response.

Original comment by nigel.ta...@gmail.com on 9 Sep 2012 at 10:48