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:
Manish Singh 2005-01-18 21:47:51 +00:00
parent 19c564ba25
commit d73a8e0cad
4 changed files with 32 additions and 15 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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;
}