Silently accept a missing gtk.immodules file, some people want to run

Tue May 20 17:27:24 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimmodule.c (gtk_im_module_init): Silently
        accept a missing gtk.immodules file, some people
        want to run without one. (#112406, patch from
        Arnaud Charlet)
This commit is contained in:
Owen Taylor 2003-05-20 21:30:21 +00:00 committed by Owen Taylor
parent 12ebd97fc2
commit 04e26775a0
7 changed files with 43 additions and 7 deletions

View File

@ -1,3 +1,10 @@
Tue May 20 17:27:24 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmodule.c (gtk_im_module_init): Silently
accept a missing gtk.immodules file, some people
want to run without one. (#112406, patch from
Arnaud Charlet)
Tue May 20 17:05:31 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix

View File

@ -1,3 +1,10 @@
Tue May 20 17:27:24 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmodule.c (gtk_im_module_init): Silently
accept a missing gtk.immodules file, some people
want to run without one. (#112406, patch from
Arnaud Charlet)
Tue May 20 17:05:31 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix

View File

@ -1,3 +1,10 @@
Tue May 20 17:27:24 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmodule.c (gtk_im_module_init): Silently
accept a missing gtk.immodules file, some people
want to run without one. (#112406, patch from
Arnaud Charlet)
Tue May 20 17:05:31 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix

View File

@ -1,3 +1,10 @@
Tue May 20 17:27:24 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmodule.c (gtk_im_module_init): Silently
accept a missing gtk.immodules file, some people
want to run without one. (#112406, patch from
Arnaud Charlet)
Tue May 20 17:05:31 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix

View File

@ -1,3 +1,10 @@
Tue May 20 17:27:24 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkimmodule.c (gtk_im_module_init): Silently
accept a missing gtk.immodules file, some people
want to run without one. (#112406, patch from
Arnaud Charlet)
Tue May 20 17:05:31 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_hints): Fix

View File

@ -279,9 +279,12 @@ gtk_im_module_init ()
file = fopen (filename, "r");
if (!file)
{
g_warning ("Can not open Input Method module file '%s': %s",
filename, g_strerror (errno));
/* We are leaking all kinds of memory here. */
/* In case someone wants only the default input method,
* we allow no file at all.
*/
g_string_free (line_buf, TRUE);
g_string_free (tmp_buf, TRUE);
g_free (filename);
return;
}

View File

@ -1,8 +1,6 @@
2003-05-19 Arafat Medini
* ar.po: Added Arabic translation by
Arabeyes.
2003-05-19 Arafat Medini <lumina@silverpen.de>
* ar.po: Added Arabic translation by Arabeyes.
2003-05-18 KAMAGASAKO Masatoshi <emerald@gnome.gr.jp>