[network-manager-applet] Avoid one more hbox



commit e182d7d4ee13759a9a0a6f1a1e9518825a1c61ea
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jun 20 23:35:27 2011 -0400

    Avoid one more hbox

 src/connection-editor/nm-connection-list.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index 0d65aed..cc81f0c 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -1287,7 +1287,11 @@ add_connection_tab (NMConnectionList *self,
 	g_free (name);
 
 	/* Notebook tab */
+#if GTK_CHECK_VERSION(3,1,6)
+        hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
+#else
 	hbox = gtk_hbox_new (FALSE, 6);
+#endif
 	if (pixbuf) {
 		GtkWidget *image;
 



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