x11: Cosmetics
Don't return FALSE from a function returning a pointer.
This commit is contained in:
@@ -1472,7 +1472,7 @@ gdk_x11_display_open (const char *display_name)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* initialize the display's screens */
|
||||
/* initialize the display's screens */
|
||||
display_x11->screen = _gdk_x11_screen_new (display, DefaultScreen (display_x11->xdisplay));
|
||||
|
||||
/* If GL is available we want to pick better default/rgba visuals,
|
||||
@@ -3021,7 +3021,7 @@ gdk_x11_display_init_gl (GdkDisplay *display,
|
||||
GdkX11Display *self = GDK_X11_DISPLAY (display);
|
||||
|
||||
if (!gdk_x11_display_init_gl_backend (self, &self->window_visual, &self->window_depth, error))
|
||||
return FALSE;
|
||||
return NULL;
|
||||
|
||||
gdk_x11_display_init_leader_surface (self);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user