head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.42 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.40 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.38 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.36 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.34 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.32 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.30 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.28 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.26 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.24 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.22 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.20 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.18 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.16 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.14 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.12 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.10 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.8 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.6 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.0.2 pkgsrc-2005Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2005.05.10.20.26.05; author jmmv; state dead; branches; next 1.1; 1.1 date 2005.03.16.15.30.21; author rillig; state Exp; branches; next ; desc @@ 1.2 log @Remove gtk2-engines-clearlooks. The GTK2 part has been merged into gtk2-engines in version 2.6.3. The Metacity part will be imported as a separate package. @ text @$NetBSD: patch-ad,v 1.1 2005/03/16 15:30:21 rillig Exp $ gcc-2.95.3 cannot handle declarations intermixed with code. --- src/support.c.orig Wed Mar 2 19:09:43 2005 +++ src/support.c Wed Mar 16 14:34:41 2005 @@@@ -507,8 +507,9 @@@@ calculate_arrow_geometry (GtkArrowType void gtk_treeview_get_header_index (GtkWidget *tv, GtkWidget *header, gint *column_index, gint *columns) { + GList *list; *column_index = *columns = 0; - GList *list = gtk_tree_view_get_columns (GTK_TREE_VIEW (tv)); + list = gtk_tree_view_get_columns (GTK_TREE_VIEW (tv)); do { @@@@ -627,16 +628,16 @@@@ draw_vgradient (GdkDrawable *drawable, G int x, int y, int width, int height, GdkColor *left_color, GdkColor *right_color) { + int i; + GdkColor col; + int dr, dg, db; + GdkGCValues old_values; + if ( left_color == NULL || right_color == NULL ) { gdk_draw_rectangle (drawable, gc, TRUE, x, y, width, height); return; } - - int i; - GdkColor col; - int dr, dg, db; - GdkGCValues old_values; gdk_gc_get_values (gc, &old_values); @ 1.1 log @Added some patches for building with gcc-2.95.3. Approved by wiz. @ text @d1 1 a1 1 $NetBSD$ @