[gnome-power-manager] Fix compile with latest GTK



commit 6c54329bcebf4433dc6c36f1c4cba370e6b1f003
Author: Yanko Kaneti <yaneti declera com>
Date:   Tue Nov 2 14:00:52 2010 +0000

    Fix compile with latest GTK
    
    Signed-off-by: Richard Hughes <richard hughsie com>

 configure.ac        |    2 +-
 src/gpm-tray-icon.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6dca0de..059ca34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,7 +109,7 @@ PKG_CHECK_MODULES(GNOME, [
  cairo >= 1.0.0])
 
 PKG_CHECK_MODULES(GDK, [
- gdk-3.0 >= 2.91.0
+ gdk-3.0 >= 2.91.3
  gdk-x11-3.0])
 
 PKG_CHECK_MODULES(X11, [
diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c
index c1a9a01..6bed3e7 100644
--- a/src/gpm-tray-icon.c
+++ b/src/gpm-tray-icon.c
@@ -222,11 +222,11 @@ gpm_tray_icon_add_device (GpmTrayIcon *icon, GtkMenu *menu, const GPtrArray *arr
 		percentage_str = g_strdup_printf ("%.0f%%", percentage);
 
 		/* align title and percentage in columns */
-		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 3);
+		hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
 		gtk_widget_show (hbox);
 
 		/* left align the device text */
-		hbox_align = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 0);
+		hbox_align = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 		gtk_widget_show (hbox_align);
 		label_title = gtk_label_new (desc);
 		gtk_widget_show (label_title);



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