Fix a few deprecation warnings
This commit is contained in:
parent
624b78d94c
commit
3408bd64b8
2 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ AM_SILENT_RULES([yes])
|
|||
AM_MAINTAINER_MODE([enable])
|
||||
GNOME_MAINTAINER_MODE_DEFINES
|
||||
|
||||
AM_PROG_VALAC([0.22])
|
||||
AM_PROG_VALAC([0.23.1.11])
|
||||
AM_PROG_CC_C_O
|
||||
|
||||
GLIB_GSETTINGS
|
||||
|
|
|
@ -171,9 +171,9 @@ private class ChessView3D : ChessView
|
|||
GLX_ACCUM_GREEN_SIZE, 1,
|
||||
GLX_ACCUM_BLUE_SIZE, 1,
|
||||
0 }; /* NOTE: Should be None (from X11) but that is a pointer and Vala doesn't like that */
|
||||
drawable = Gdk.X11Window.get_xid (get_window ());
|
||||
display = Gdk.X11Display.get_xdisplay (get_window ().get_display ());
|
||||
var screen = Gdk.X11Screen.get_screen_number (get_screen ());
|
||||
drawable = Gdk.X11.Window.get_xid (get_window ());
|
||||
display = Gdk.X11.Display.get_xdisplay (get_window ().get_display ());
|
||||
var screen = Gdk.X11.Screen.get_screen_number (get_screen ());
|
||||
var visual = glXChooseVisual (display, screen, attributes);
|
||||
if (visual == null)
|
||||
warning ("Failed to get GLX visual on display %p, screen %d", display, screen);
|
||||
|
|
Loading…
Reference in a new issue