diff options
Diffstat (limited to 'src/gcompris/gcompris_im.c')
-rw-r--r-- | src/gcompris/gcompris_im.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/gcompris/gcompris_im.c b/src/gcompris/gcompris_im.c index 46cddc4..3e3bfe3 100644 --- a/src/gcompris/gcompris_im.c +++ b/src/gcompris/gcompris_im.c @@ -1,7 +1,5 @@ /* gcompris - gcompris_im.c * - * Time-stamp: <2006/08/21 23:26:19 bruno> - * * Copyright (C) 2000,2003 Bruno Coudoin * * This program is free software; you can redistribute it and/or modify @@ -45,8 +43,8 @@ gc_im_init(GtkWidget *window) if(gc_profile_get_current()) { GHashTable *init_im = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free); - init_im = gc_db_conf_with_table_get (gc_profile_get_current()->profile_id, - -1, + init_im = gc_db_conf_with_table_get (gc_profile_get_current()->profile_id, + -1, init_im ); properties->default_context = g_hash_table_lookup ( init_im, "default_im"); @@ -71,7 +69,7 @@ gc_im_init(GtkWidget *window) g_signal_connect (GTK_WIDGET (window), "focus-out-event", G_CALLBACK(window_focus_callback), NULL); - + } void @@ -81,7 +79,7 @@ gc_im_reset() gtk_im_context_reset (properties->context); } - + static gint im_context_commit_callback (GtkIMContext *imcontext, gchar *arg1, @@ -95,7 +93,7 @@ im_context_commit_callback (GtkIMContext *imcontext, } return FALSE; } - + static gint im_context_preedit_callback (GtkIMContext *imcontext, gpointer user_data) @@ -129,6 +127,6 @@ window_focus_callback (GtkWidget *widget, gtk_im_context_focus_in (properties->context); else gtk_im_context_focus_out (properties->context); - + return FALSE; } |