mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org
* gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids): disambiguate nested if/else.
This commit is contained in:
parent
19c564ba25
commit
d73a8e0cad
@ -1,3 +1,8 @@
|
||||
Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org
|
||||
|
||||
* gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
|
||||
disambiguate nested if/else.
|
||||
|
||||
2005-01-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org
|
||||
|
||||
* gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
|
||||
disambiguate nested if/else.
|
||||
|
||||
2005-01-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org
|
||||
|
||||
* gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
|
||||
disambiguate nested if/else.
|
||||
|
||||
2005-01-18 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
Merged from gtk-2-6:
|
||||
|
@ -328,6 +328,7 @@ _gdk_x11_have_render_with_trapezoids (GdkDisplay *display)
|
||||
GdkDisplayX11 *x11display = GDK_DISPLAY_X11 (display);
|
||||
|
||||
if (x11display->have_render_with_trapezoids == GDK_UNKNOWN)
|
||||
{
|
||||
if (!_gdk_x11_have_render (display))
|
||||
x11display->have_render_with_trapezoids = GDK_NO;
|
||||
else
|
||||
@ -347,6 +348,7 @@ _gdk_x11_have_render_with_trapezoids (GdkDisplay *display)
|
||||
(minor_version < XRENDER_TETRAPEZOIDS_MINOR)))
|
||||
x11display->have_render_with_trapezoids = GDK_NO;
|
||||
}
|
||||
}
|
||||
|
||||
return x11display->have_render_with_trapezoids == GDK_YES;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user