[uim-commit] r125 - trunk/helper
tkng@freedesktop.org
tkng@freedesktop.org
Wed Jan 5 01:47:23 PST 2005
Author: tkng
Date: 2005-01-05 01:47:20 -0800 (Wed, 05 Jan 2005)
New Revision: 125
Modified:
trunk/helper/pref-gtk.c
Log:
* helper/pref-gtk.c:
-(custom_pathname_button_clicked_cb): Fixed a warning.
-(add_custom_type_pathname) Fixed a warning.
Modified: trunk/helper/pref-gtk.c
===================================================================
--- trunk/helper/pref-gtk.c 2005-01-05 09:22:09 UTC (rev 124)
+++ trunk/helper/pref-gtk.c 2005-01-05 09:47:20 UTC (rev 125)
@@ -231,7 +231,7 @@
char *filename;
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
if(filename) {
- gtk_entry_set_text(entry, filename);
+ gtk_entry_set_text(GTK_ENTRY(entry), filename);
g_free (filename);
}
}
@@ -251,6 +251,7 @@
label = gtk_label_new(custom->label);
gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
+ gtk_misc_set_alignment(GTK_MISC(label), 0, 0);
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
entry = gtk_entry_new();
More information about the Uim-commit
mailing list