From d36eb371d9ca67d4e08087250b4b8b92de5a7ae3 Mon Sep 17 00:00:00 2001
From: Pierre-Luc Beaudoin <pierre-luc.beaudoin@savoirfairelinux.com>
Date: Wed, 19 Sep 2007 08:26:12 -0400
Subject: [PATCH] Fix a warning

---
 sflphone-gtk/src/mainwindow.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sflphone-gtk/src/mainwindow.c b/sflphone-gtk/src/mainwindow.c
index 463f72e671..f056d563c4 100644
--- a/sflphone-gtk/src/mainwindow.c
+++ b/sflphone-gtk/src/mainwindow.c
@@ -140,6 +140,13 @@ create_main_window ()
   button = create_screen();
   gtk_box_pack_start (GTK_BOX (subvbox), button, FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/);
   
+  button = gtk_hscale_new_with_range(0, 100, 2);
+  gtk_scale_set_draw_value(button, FALSE);
+  gtk_box_pack_start (GTK_BOX (subvbox), button, FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/);
+  button = gtk_hscale_new_with_range(0, 100, 2);
+  gtk_scale_set_draw_value(button, FALSE);
+  gtk_box_pack_start (GTK_BOX (subvbox), button, FALSE /*expand*/, TRUE /*fill*/, 0 /*padding*/);
+  
   gtk_box_pack_start (GTK_BOX (subvbox), create_call_tree(), TRUE /*expand*/, TRUE /*fill*/,  0 /*padding*/);
   
   /* Status bar */
@@ -203,7 +210,7 @@ main_window_dialpad(gboolean show){
   }
   else if (!show && showDialpad)
   {
-    gtk_container_remove(GTK_BOX (subvbox), dialpad);
+    gtk_container_remove(GTK_CONTAINER (subvbox), dialpad);
   }
   showDialpad = show;
     
-- 
GitLab