changeset 11937:83cf4df8809d

[gaim-migrate @ 14228] This should make Gaim compile on GTK 2.0 and 2.2 until sadrul can fix this for real. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 01 Nov 2005 00:38:24 +0000
parents 2af814f836e6
children eadd9cf57c1a
files src/gtkwhiteboard.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkwhiteboard.c	Mon Oct 31 22:55:16 2005 +0000
+++ b/src/gtkwhiteboard.c	Tue Nov 01 00:38:24 2005 +0000
@@ -60,7 +60,9 @@
 
 static void gaim_gtk_whiteboard_rgb24_to_rgb48(int color_rgb, GdkColor *color);
 
+#if 0
 static void change_color_cb(GtkColorButton *w, GaimGtkWhiteboard *gtkwb);
+#endif
 
 /******************************************************************************
  * Globals
@@ -242,8 +244,10 @@
 		gtk_box_pack_start(GTK_BOX(vbox_controls), color_button, FALSE, FALSE, 8);
 		gtk_widget_show(color_button);
 
+#if 0
 		g_signal_connect(G_OBJECT(color_button), "color-set",
 						G_CALLBACK(change_color_cb), gtkwb);
+#endif
 	}
 
 	/* Make all this (window) visible */
@@ -820,6 +824,7 @@
 	color->blue  = ((color_rgb & 0xFF) << 8) | 0xFF;
 }
 
+#if 0
 static void
 change_color_cb(GtkColorButton *w, GaimGtkWhiteboard *gtkwb)
 {
@@ -843,4 +848,4 @@
 			prpl->set_brush(wb, old_size, gtkwb->brush_color);
 	}
 }
-
+#endif