[network-manager-applet] Fix the build



commit 13a9ab903246f9c5f0c53a3ab55ed6c3f7cf0932
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jun 29 14:29:32 2011 -0400

    Fix the build
    
    -Werror doesn't take this kind of casting oversight lightly.

 src/applet-dialogs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet-dialogs.c b/src/applet-dialogs.c
index 08bd959..154b77f 100644
--- a/src/applet-dialogs.c
+++ b/src/applet-dialogs.c
@@ -848,7 +848,7 @@ applet_mobile_password_dialog_new (NMConnection *connection,
 	gtk_box_pack_start (vbox, w, TRUE, TRUE, 0);
 
 #if GTK_CHECK_VERSION(3,1,6)
-        box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
+        box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6));
 #else
 	box = GTK_BOX (gtk_hbox_new (FALSE, 6));
 #endif



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