changeset 8040:7c252b4bfbda

[gaim-migrate @ 8724] there was actually no way to get to this code committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 09 Jan 2004 05:02:38 +0000
parents ba400dd8a6b6
children 70b7516d1447
files src/gtkblist.c
diffstat 1 files changed, 3 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Thu Jan 08 04:28:43 2004 +0000
+++ b/src/gtkblist.c	Fri Jan 09 05:02:38 2004 +0000
@@ -247,15 +247,9 @@
 	    width = gdk_pixbuf_get_width (gtkblist->east);
 	    height = gdk_pixbuf_get_height (gtkblist->east);
 
-#if GTK_CHECK_VERSION(2,2,0)
 	    gdk_draw_pixbuf(GDK_DRAWABLE(gtkblist->east_shadow), gc,
 				gtkblist->east, 0, 0, 0, 0, width, height, GDK_RGB_DITHER_NONE,
 				0, 0);
-#else
-	    gdk_pixbuf_render_to_drawable(gtkblist->east,
-				GDK_DRAWABLE(gtkblist->east_shadow), gc, 0, 0, 0, 0,
-				width, height, GDK_RGB_DITHER_NONE, 0, 0);
-#endif
 
 	    if (area)
 	      gdk_gc_set_clip_rectangle (gc, NULL);
@@ -269,13 +263,9 @@
 
 	    width = gdk_pixbuf_get_width (gtkblist->south);
 	    height = gdk_pixbuf_get_height (gtkblist->south);
-#if GTK_CHECK_VERSION(2,2,0)
 	    gdk_draw_pixbuf(GDK_DRAWABLE(gtkblist->south_shadow), gc, gtkblist->south,
 			    0, 0, 0, 0, width, height, GDK_RGB_DITHER_NONE, 0, 0);
-#else
-	    gdk_pixbuf_render_to_drawable(gtkblist->south, GDK_DRAWABLE(gtkblist->south_shadow), gc, 
-					  0, 0, 0, 0, width, height, GDK_RGB_DITHER_NONE, 0, 0);
-#endif
+
 	    if (area)
 		    gdk_gc_set_clip_rectangle (gc, NULL);
 	  }
@@ -1444,8 +1434,8 @@
 	g_free(tooltiptext);
 
 #ifdef WANT_DROP_SHADOW
-	shadow_paint(gtkblist, NULL, EAST_SIDE);	
-	shadow_paint(gtkblist, NULL, SOUTH_SIDE);	
+	shadow_paint(gtkblist, NULL, EAST_SIDE);
+	shadow_paint(gtkblist, NULL, SOUTH_SIDE);
 #endif
 
 	return;