$ git clone https://tcclient.ion.nu/tc_client.git
commit cae94881965c3bb3279f911c3c4ac8e34571fb91
Author: Alicia <...>
Date: Wed Oct 5 22:23:43 2016 +0200
tc_client-gtk: added a compatibility macro for versions of gdk-pixbuf lacking gdk_pixbuf_read_pixels()
diff --git a/ChangeLog b/ChangeLog
index a58651d..e537164 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,7 @@ tc_client-gtk: reimplemented automatic scrolling using a state to keep track of
tc_client-gtk: when keeping HTTP cookies, use separate cookies per account and one for no account to avoid serverside issues.
tc_client-gtk: stop trying to send video data if our media stream was closed.
tc_client-gtk: added an option to pick the greenscreen "green" color from the camera.
+tc_client-gtk: added a compatibility macro for versions of gdk-pixbuf lacking gdk_pixbuf_read_pixels()
tc_client-gtk and camviewer: updated to libavcodec's avcodec_{send,receive}_{frame,packet} API.
libcamera(v4l2): cache the frame and if there is no data to be read, return the cache instead of blocking.
0.39:
diff --git a/utilities/gtk/compat.h b/utilities/gtk/compat.h
index 2cccd48..3110d85 100644
--- a/utilities/gtk/compat.h
+++ b/utilities/gtk/compat.h
@@ -1,6 +1,6 @@
/*
tc_client-gtk, a graphical user interface for tc_client
- Copyright (C) 2015 alicia@ion.nu
+ Copyright (C) 2015-2016 alicia@ion.nu
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@@ -84,3 +84,6 @@ extern SECURITY_ATTRIBUTES sa;
#if GTK_MAJOR_VERSION<3 || (GTK_MAJOR_VERSION==3 && GTK_MINOR_VERSION<16)
extern void gtk_paned_set_wide_handle(void*, char);
#endif
+#if GDK_PIXBUF_MAJOR<2 || (GDK_PIXBUF_MAJOR==2 && GDK_PIXBUF_MINOR<32)
+ #define gdk_pixbuf_read_pixels gdk_pixbuf_get_pixels
+#endif