[totem] Remove use of gtk_progress_bar_set_orientation()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Remove use of gtk_progress_bar_set_orientation()
- Date: Sat, 18 Sep 2010 00:04:20 +0000 (UTC)
commit b0a0821eae5fecbaead5cb00a6e25836b8e65639
Author: Philip Withnall <philip tecnocode co uk>
Date: Sat Sep 18 01:03:10 2010 +0100
Remove use of gtk_progress_bar_set_orientation()
GtkProgressBar now implements GtkOrientable. This bumps our GTK+ dependency
to 2.90.7.
configure.in | 2 +-
src/totem-statusbar.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index 543cb34..7776580 100644
--- a/configure.in
+++ b/configure.in
@@ -44,7 +44,7 @@ AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
# Requirements
GLIB_REQS=2.25.11
GIO_REQS=2.25.0
-GTK_REQS=2.90.3
+GTK_REQS=2.90.7
TOTEM_PLPARSER_REQS=2.29.1
GNOMEICON_REQS=2.15.90
DBUS_REQS=0.61
diff --git a/src/totem-statusbar.c b/src/totem-statusbar.c
index 3360f0d..183a2e4 100644
--- a/src/totem-statusbar.c
+++ b/src/totem-statusbar.c
@@ -76,9 +76,9 @@ totem_statusbar_init (TotemStatusbar *statusbar)
gtk_widget_show (vbox);
statusbar->progress = gtk_progress_bar_new ();
- gtk_progress_bar_set_orientation (GTK_PROGRESS_BAR (statusbar->progress),
+ gtk_progress_bar_set_inverted (GTK_PROGRESS_BAR (statusbar->progress),
gtk_widget_get_direction (statusbar->progress) == GTK_TEXT_DIR_LTR ?
- GTK_PROGRESS_LEFT_TO_RIGHT : GTK_PROGRESS_RIGHT_TO_LEFT);
+ FALSE : TRUE);
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (statusbar->progress), 0.);
gtk_box_pack_start (GTK_BOX (vbox), statusbar->progress, TRUE, TRUE, 1);
gtk_widget_set_size_request (statusbar->progress, 150, 10);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]