ekiga r6419 - trunk/src/gui



Author: jpuydt
Date: Sat Jun 28 14:07:10 2008
New Revision: 6419
URL: http://svn.gnome.org/viewvc/ekiga?rev=6419&view=rev

Log:
Remove useless code... which leaked

Modified:
   trunk/src/gui/dialpad.cpp

Modified: trunk/src/gui/dialpad.cpp
==============================================================================
--- trunk/src/gui/dialpad.cpp	(original)
+++ trunk/src/gui/dialpad.cpp	Sat Jun 28 14:07:10 2008
@@ -149,7 +149,6 @@
 ekiga_dialpad_init (EkigaDialpad *dialpad)
 {
   unsigned i;
-  GtkSizeGroup *letters_group;
 
   dialpad->priv = G_TYPE_INSTANCE_GET_PRIVATE (dialpad,
                                                EKIGA_TYPE_DIALPAD,
@@ -158,9 +157,6 @@
   gtk_table_set_col_spacings (GTK_TABLE (dialpad), 2);
   gtk_table_set_row_spacings (GTK_TABLE (dialpad), 2);
 
-  /* Size groups to align the buttons properly */
-  letters_group = gtk_size_group_new (GTK_SIZE_GROUP_BOTH);
-
   /* Create the buttons */
   for (i = 0; i < G_N_ELEMENTS (keys_info); i++) {
     GtkWidget *box;
@@ -184,7 +180,6 @@
       gtk_label_set_markup (GTK_LABEL (label), text);
       g_free (text);
     }
-    gtk_size_group_add_widget (letters_group, label);
     gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE, 0);
 
     alignment = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);



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