[cpia] GTK 1.1 compatability for gqcam client
Nick Holloway
Nick.Holloway@alfie.demon.co.uk
15 Jan 2000 12:10:44 -0000
Owing to the byte order changing with 0.5.0, I've had to recompile the
client. Here is a less intrusive patch than my last one to enable it
to compile and run with GTK 1.1 (which is the version with the current
stable Debian release).
diff -u frontend.h~ frontend.h
--- frontend.h~ Wed Nov 10 22:50:23 1999
+++ frontend.h Sat Jan 15 12:05:03 2000
@@ -23,3 +23,10 @@
extern unsigned char pic[MAX_RGBA_IMAGE_SIZE];
extern int frozen;
extern guint timeoutid;
+
+#if GTK_MAJOR_VERSION == 1 && GTK_MINOR_VERSION == 1
+# define gtk_container_set_border_width gtk_container_border_width
+# define gtk_toggle_button_set_active gtk_toggle_button_set_state
+# define gtk_notebook_get_current_page gtk_notebook_current_page
+#endif
+
--
`O O' | Nick.Holloway@alfie.demon.co.uk
// ^ \\ | http://www.alfie.demon.co.uk/