Revision: 6758
Author: nogu.dev
Date: Sat Sep 11 01:16:11 2010
Log: * helper/dict-word-win-gtk.c
- (word_window_additional_create): Use gtk_editable_set_editable()
instead of deprecated gtk_editable_set_editable().
* helper/pref-gtk-custom-widgets.c
- (add_custom_type_orderedlist, choose_key_clicked_cb,
add_custom_type_key): Ditto.
http://code.google.com/p/uim/source/detail?r=6758
Modified:
/trunk/helper/dict-word-win-gtk.c
/trunk/helper/pref-gtk-custom-widgets.c
=======================================
--- /trunk/helper/dict-word-win-gtk.c Sat Sep 11 01:15:58 2010
+++ /trunk/helper/dict-word-win-gtk.c Sat Sep 11 01:16:11 2010
@@ -357,7 +357,7 @@
gtk_table_attach(GTK_TABLE(table), label, 0, 1, 0, 1, GTK_FILL, 0, 5, 5);
entry = gtk_entry_new();
- gtk_entry_set_editable(GTK_ENTRY(entry), FALSE);
+ gtk_editable_set_editable(GTK_EDITABLE(entry), FALSE);
gtk_label_set_mnemonic_widget(GTK_LABEL(label), entry);
gtk_widget_show(entry);
gtk_table_attach(GTK_TABLE(table), entry, 1, 2, 0, 1, GTK_FILL, 0, 5, 5);
=======================================
--- /trunk/helper/pref-gtk-custom-widgets.c Thu Jul 15 19:00:23 2010
+++ /trunk/helper/pref-gtk-custom-widgets.c Sat Sep 11 01:16:11 2010
@@ -1358,7 +1358,7 @@
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, TRUE, 0);
entry = gtk_entry_new();
- gtk_entry_set_editable(GTK_ENTRY(entry), FALSE);
+ gtk_editable_set_editable(GTK_EDITABLE(entry), FALSE);
gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0);
button = gtk_button_new_with_label(_("Edit..."));
@@ -1832,7 +1832,7 @@
g_object_unref(GTK_ENTRY(entry)->im_context);
GTK_ENTRY(entry)->im_context = im_context;
- gtk_entry_set_editable(GTK_ENTRY(entry), FALSE);
+ gtk_editable_set_editable(GTK_EDITABLE(entry), FALSE);
key_pref_win.keycode_entry = entry;
gtk_widget_set_size_request(GTK_WIDGET(entry), 100, -1);
gtk_box_pack_start(GTK_BOX(hbox), entry, TRUE, TRUE, 4);
@@ -1891,7 +1891,7 @@
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, TRUE, 0);
entry = gtk_entry_new();
- gtk_entry_set_editable(GTK_ENTRY(entry), FALSE);
+ gtk_editable_set_editable(GTK_EDITABLE(entry), FALSE);
g_object_set_data_full(G_OBJECT(entry),
OBJECT_DATA_UIM_CUSTOM_SYM, g_strdup(custom->symbol),
(GDestroyNotify) g_free);