[gtk+/gtk-2-90] Substitute deprecated function



commit ea3ba02c66785ed1a24c4014bbd5b288ac04dc5b
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Nov 18 04:57:08 2009 +0100

    Substitute deprecated function
    
    Use gtk_editable_set_editable() instead gtk_entry_set_editable()

 modules/other/gail/tests/testcombo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/other/gail/tests/testcombo.c b/modules/other/gail/tests/testcombo.c
index 33559bb..4598010 100644
--- a/modules/other/gail/tests/testcombo.c
+++ b/modules/other/gail/tests/testcombo.c
@@ -119,7 +119,7 @@ static void _check_combo_box (AtkObject *obj)
 
         combo = GTK_ACCESSIBLE (combo_obj)->widget;
         entry = GTK_ENTRY (gtk_bin_get_child (GTK_BIN (combo)));
-        gtk_entry_set_editable (entry, FALSE);
+        gtk_editable_set_editable (GTK_EDITABLE (entry), FALSE);
       }
       _check_children (combo_obj);
       _test_selection (combo_obj);



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