Revision: 7145
Author:   ek.kato
Date:     Fri Jun 17 00:19:47 2011
Log:      * gtk2/immodule/uim-cand-win-horizontal-gtk.c
  - (assign_cellbutton) : Remove unused argument.
  - (update_table_button) : Follow the change.

http://code.google.com/p/uim/source/detail?r=7145

Modified:
 /trunk/gtk2/immodule/uim-cand-win-horizontal-gtk.c

=======================================
--- /trunk/gtk2/immodule/uim-cand-win-horizontal-gtk.c Thu Jun 16 23:54:38 2011 +++ /trunk/gtk2/immodule/uim-cand-win-horizontal-gtk.c Fri Jun 17 00:19:47 2011
@@ -236,7 +236,7 @@

 static GtkButton*
 assign_cellbutton(UIMCandWinHorizontalGtk *horizontal_cwin,
-    gchar *heading, gint cand_index, gint display_limit)
+                 gint cand_index, gint display_limit)
 {
   struct index_button *idxbutton;
   int len;
@@ -405,7 +405,7 @@
     gtk_tree_model_get(model, &ti, COLUMN_HEADING, &heading,
         COLUMN_CANDIDATE, &cand_str, TERMINATOR);
     if (cand_str != NULL) {
- button = assign_cellbutton(horizontal_cwin, heading, cand_index, display_limit); + button = assign_cellbutton(horizontal_cwin, cand_index, display_limit);
       if (button != NULL) {
         gtk_button_set_relief(button, GTK_RELIEF_NONE);
         gtk_widget_set_sensitive(GTK_WIDGET(button), TRUE);

Reply via email to