pkgsrc/x11/gtk2-engines/patches/patch-ac
jmmv 25ab654d47 Fix multiple useless C99isms. Should fix the build with GCC 2.95.
Spotted by latest NetBSD 1.6.2/i386 kristerw@'s bulk build.

While here, commit an update that has been laying here for a while.
This should depend on the latest gtk2 to avoid a deadlock when using
SVG themes.  So bump PKGREVISION to 1.
2005-01-13 19:51:19 +00:00

17 lines
747 B
Text

$NetBSD: patch-ac,v 1.1 2005/01/13 19:51:19 jmmv Exp $
--- engines/redmond/src/redmond_gtk2_drawing.c.orig 2004-12-15 17:52:56.000000000 +0100
+++ engines/redmond/src/redmond_gtk2_drawing.c
@@ -1581,10 +1581,10 @@ redmond_draw_handle (GtkStyle * style,
gint height,
GtkOrientation orientation)
{
- g_return_if_fail(sanitize_parameters(style, window, &width, &height));
-
gboolean left_cutoff = FALSE, right_cutoff = FALSE, top_cutoff = FALSE, bottom_cutoff = FALSE;
+ g_return_if_fail(sanitize_parameters(style, window, &width, &height));
+
if (IS_BONOBO_DOCK_ITEM_GRIP(widget) &&
(gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) &&
orientation == (GTK_ORIENTATION_HORIZONTAL))