[empathy] call-window: remove GTK2 compat code
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] call-window: remove GTK2 compat code
- Date: Mon, 4 Oct 2010 09:16:55 +0000 (UTC)
commit 166ee29973d7db1d0a7a5844eaa488470f5079f9
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Sep 30 16:17:46 2010 +0200
call-window: remove GTK2 compat code
src/empathy-call-window.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 5b8db88..00ea567 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]