mirror of https://github.com/GNOME/gimp.git
use gtk_rc_parse() instead of gtk_rc_add_default_file() to add
2004-11-30 Michael Natterer <mitch@gimp.org> * app/gui/themes.c (themes_init): use gtk_rc_parse() instead of gtk_rc_add_default_file() to add ~/.gimp-2.2/themerc to the list of files parsed by GTK+ because the latter works only before gtk_init(). Fixes bug #155963.
This commit is contained in:
parent
49ae84caf0
commit
ee9b4b83c1
|
@ -1,3 +1,10 @@
|
|||
2004-11-30 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gui/themes.c (themes_init): use gtk_rc_parse() instead of
|
||||
gtk_rc_add_default_file() to add ~/.gimp-2.2/themerc to the list
|
||||
of files parsed by GTK+ because the latter works only before
|
||||
gtk_init(). Fixes bug #155963.
|
||||
|
||||
2004-11-30 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/dialogs/print-size-dialog.c: reordered prototypes to match
|
||||
|
|
|
@ -89,7 +89,7 @@ themes_init (Gimp *gimp)
|
|||
themes_apply_theme (gimp, config->theme);
|
||||
|
||||
themerc = gimp_personal_rc_file ("themerc");
|
||||
gtk_rc_add_default_file (themerc);
|
||||
gtk_rc_parse (themerc);
|
||||
g_free (themerc);
|
||||
|
||||
g_signal_connect (config, "notify::theme",
|
||||
|
|
Loading…
Reference in New Issue