[Uim-commit] r120 - trunk/helper

tkng@freedesktop.org tkng@freedesktop.org
Tue Jan 4 15:07:26 PST 2005


Author: tkng
Date: 2005-01-04 15:07:24 -0800 (Tue, 04 Jan 2005)
New Revision: 120

Modified:
   trunk/helper/pref-gtk.c
Log:
* helper/pref-gtk.c:
 -(add_custom_type_pathname),(create_group_widget): Fixed warnings.


Modified: trunk/helper/pref-gtk.c
===================================================================
--- trunk/helper/pref-gtk.c	2005-01-04 22:20:41 UTC (rev 119)
+++ trunk/helper/pref-gtk.c	2005-01-04 23:07:24 UTC (rev 120)
@@ -102,7 +102,7 @@
 static void
 delete_event_cb(GtkWidget *widget, gpointer data)
 {
-  gtk_main_quit ();
+  gtk_main_quit();
 }
 
 static GtkWidget *
@@ -222,7 +222,7 @@
   hbox = gtk_hbox_new(FALSE, 8);
  
   label = gtk_label_new(custom->label); 
-  gtk_label_set_justify(label,GTK_JUSTIFY_LEFT);
+  gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
   gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
 
   entry = gtk_entry_new();
@@ -334,7 +334,7 @@
   /* OK button */
   button = gtk_button_new_from_stock(GTK_STOCK_OK);
   /*  g_signal_connect(G_OBJECT(button), "clicked",
-		   G_CALLBACK(change_input_method), radio0);*/
+      G_CALLBACK(ok_button_clicked), group_name);*/
   gtk_box_pack_start(GTK_BOX(setting_button_box), button, TRUE, TRUE, 8);
   return setting_button_box;
 }
@@ -360,7 +360,7 @@
   label_text  = g_markup_printf_escaped("<span size=\"xx-large\">%s</span>",
 					group->label);
 					
-  gtk_label_set_markup(group_label, label_text);
+  gtk_label_set_markup(GTK_LABEL(group_label), label_text);
   g_free(label_text);
   gtk_box_pack_start (GTK_BOX(vbox), group_label, FALSE, TRUE, 8);
 



More information about the Uim-commit mailing list