aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-09-30 22:17:46 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-04 16:43:28 +0800
commit166ee29973d7db1d0a7a5844eaa488470f5079f9 (patch)
tree62baeb14b864c5693881b9cd907fed4c1e00b932 /src
parent442462170b4be90281b67a76e2e3f38daa3a8beb (diff)
downloadgsoc2013-empathy-166ee29973d7db1d0a7a5844eaa488470f5079f9.tar
gsoc2013-empathy-166ee29973d7db1d0a7a5844eaa488470f5079f9.tar.gz
gsoc2013-empathy-166ee29973d7db1d0a7a5844eaa488470f5079f9.tar.bz2
gsoc2013-empathy-166ee29973d7db1d0a7a5844eaa488470f5079f9.tar.lz
gsoc2013-empathy-166ee29973d7db1d0a7a5844eaa488470f5079f9.tar.xz
gsoc2013-empathy-166ee29973d7db1d0a7a5844eaa488470f5079f9.tar.zst
gsoc2013-empathy-166ee29973d7db1d0a7a5844eaa488470f5079f9.zip
call-window: remove GTK2 compat code
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 5b8db88da..00ea56728 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -603,17 +603,8 @@ empathy_call_window_create_audio_input (EmpathyCallWindow *self)
priv->volume_progress_bar = gtk_progress_bar_new ();
- /* FIXME: Once we unconditionally depend on GTK+ 3, we can remove the fallback
- * for GTK+ 2 here. GtkProgressBar doesn't implement GtkOrientable in GTK+ 2,
- * unfortunately. */
-#ifndef HAVE_GTK3
- gtk_progress_bar_set_orientation (
- GTK_PROGRESS_BAR (priv->volume_progress_bar),
- GTK_PROGRESS_BOTTOM_TO_TOP);
-#else
gtk_orientable_set_orientation (GTK_ORIENTABLE (priv->volume_progress_bar),
GTK_ORIENTATION_VERTICAL);
-#endif
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (priv->volume_progress_bar),
0);