$ git clone http://tcclient.ion.nu/tc_client.git
commit 07dae5ac4717ca299e2ff5e732b3415c4dce9af2
Author: Alicia <...>
Date:   Mon Aug 10 02:25:09 2015 +0200

    tc_client-gtk: changed how pane handles are set to be wide to be compatible with older gtk+ versions.

diff --git a/ChangeLog b/ChangeLog
index 8b0c56b..5719d9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@ irchack: added a check for whether tc_client is installed or should be run from
 irchack: respond to pings while waiting for the captcha.
 tc_client-gtk and camviewer: added support for captchas.
 tc_client-gtk: made the pane handles between cams, chat, and userlist wide (contributed by David Kreuter)
+tc_client-gtk: changed how pane handles are set to be wide to be compatible with older gtk+ versions.
 irchack: added support for captchas.
 cursedchat: added support for captchas.
 0.34:
diff --git a/gtkgui.glade b/gtkgui.glade
index 58e32de..bebe516 100644
--- a/gtkgui.glade
+++ b/gtkgui.glade
@@ -502,7 +502,6 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="orientation">vertical</property>
-            <property name="wide_handle">True</property>
             <child>
               <object class="GtkScrolledWindow" id="camerascroll">
                 <property name="visible">True</property>
@@ -537,7 +536,6 @@
                   <object class="GtkPaned" id="chatnick">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
-                    <property name="wide_handle">True</property>
                     <child>
                       <object class="GtkNotebook" id="tabs">
                         <property name="visible">True</property>
diff --git a/media.c b/media.c
index b224911..a45b85f 100644
--- a/media.c
+++ b/media.c
@@ -115,6 +115,7 @@ void stream_handledata(struct rtmp* rtmp)
     return;
   }
   printf("Received media data to unknown stream ID %u\n", rtmp->msgid);
+  fflush(stdout);
 }
 
 void stream_handlestatus(struct amf* amf, int sock)
diff --git a/utilities/gtk/camviewer.c b/utilities/gtk/camviewer.c
index b76d210..d839698 100644
--- a/utilities/gtk/camviewer.c
+++ b/utilities/gtk/camviewer.c
@@ -976,6 +976,9 @@ int main(int argc, char** argv)
 
   GtkWidget* panes=GTK_WIDGET(gtk_builder_get_object(gui, "vpaned"));
   g_signal_connect(panes, "notify::position", G_CALLBACK(handleresizepane), data);
+  gtk_paned_set_wide_handle(GTK_PANED(panes), 1);
+  panes=GTK_WIDGET(gtk_builder_get_object(gui, "chatnick"));
+  gtk_paned_set_wide_handle(GTK_PANED(panes), 1);
 
   GtkWidget* inputfield=GTK_WIDGET(gtk_builder_get_object(gui, "inputfield"));
   g_signal_connect(inputfield, "activate", G_CALLBACK(sendmessage), data);
diff --git a/utilities/gtk/compat.c b/utilities/gtk/compat.c
index abdd374..9370036 100644
--- a/utilities/gtk/compat.c
+++ b/utilities/gtk/compat.c
@@ -118,3 +118,6 @@ SECURITY_ATTRIBUTES sa={
     return gui;
   }
 #endif
+#if GTK_MAJOR_VERSION<3 || (GTK_MAJOR_VERSION==3 && GTK_MINOR_VERSION<16)
+void gtk_paned_set_wide_handle(void* a, char b){}
+#endif
diff --git a/utilities/gtk/compat.h b/utilities/gtk/compat.h
index 18a0c18..4e9c212 100644
--- a/utilities/gtk/compat.h
+++ b/utilities/gtk/compat.h
@@ -36,3 +36,6 @@ extern SECURITY_ATTRIBUTES sa;
   #define gtk_button_new_from_icon_name(name, size) gtk_button_new_from_stock(name)
   extern GtkBuilder* gtk_builder_new_from_file(const char* filename);
 #endif
+#if GTK_MAJOR_VERSION<3 || (GTK_MAJOR_VERSION==3 && GTK_MINOR_VERSION<16)
+extern void gtk_paned_set_wide_handle(void*, char);
+#endif