[totem] Make Totem depend on a newer GTK+



commit 0b4d73463c0a391c928bc9b027ae32da38bc5b86
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Dec 4 00:18:15 2009 +0000

    Make Totem depend on a newer GTK+
    
    and remove compat code.

 configure.in          |    2 +-
 src/totem-statusbar.c |   12 ------------
 2 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/configure.in b/configure.in
index 50156ed..e32afc3 100644
--- a/configure.in
+++ b/configure.in
@@ -37,7 +37,7 @@ AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
 
 # Requirements
 GLIB_REQS=2.22
-GTK_REQS=2.16.0
+GTK_REQS=2.19.1
 TOTEM_PLPARSER_REQS=2.27.0
 GNOMEICON_REQS=2.15.90
 DBUS_REQS=0.61
diff --git a/src/totem-statusbar.c b/src/totem-statusbar.c
index ea6cef7..807e100 100644
--- a/src/totem-statusbar.c
+++ b/src/totem-statusbar.c
@@ -62,19 +62,7 @@ totem_statusbar_init (TotemStatusbar *statusbar)
   statusbar->time = 0;
   statusbar->length = -1;
 
-#if GTK_CHECK_VERSION (2, 19, 1)
   hbox = gtk_statusbar_get_message_area (gstatusbar);
-#else
-  hbox = gtk_hbox_new (FALSE, SPACING);
-
-  /* Widget surgery */
-  g_object_ref (gstatusbar->label);
-  gtk_container_remove (GTK_CONTAINER (gstatusbar->frame), gstatusbar->label);
-  gtk_box_pack_start (GTK_BOX (hbox), gstatusbar->label, FALSE, FALSE, 0);
-  g_object_unref (gstatusbar->label);
-  gtk_container_add (GTK_CONTAINER (gstatusbar->frame), hbox);
-  gtk_widget_show (hbox);
-#endif
 
   gtk_label_set_ellipsize (GTK_LABEL (gstatusbar->label), FALSE);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]