Commit e9b670ef authored by Manish Singh's avatar Manish Singh

splash screen honors gtkrc

-Yosh
parent c731ecb1
Wed Apr 29 22:29:16 PDT 1998 Manish Singh <yosh@gimp.org>
* app/app_procs.c: make splash screen honor gtkrc
Wed Apr 29 16:49:27 PDT 1998 Manish Singh <yosh@gimp.org>
* plug-ins/CEL/CEL.c: reverted gimp-joke-980427-0 changes, they
......
......@@ -448,6 +448,17 @@ app_init ()
char *gimp_dir;
char *path;
gimp_dir = gimp_directory ();
if (gimp_dir[0] != '\000')
{
sprintf (filename, "%s/gtkrc", gimp_dir);
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("parsing \"%s\"\n", filename);
gtk_rc_parse (filename);
}
make_initialization_status_window();
if (no_interface == FALSE && no_splash == FALSE && win_initstatus) {
splash_text_draw (logo_area);
......@@ -464,18 +475,6 @@ app_init ()
RESET_BAR();
procedural_db_register (&quit_proc);
gimp_dir = gimp_directory ();
if (gimp_dir[0] != '\000')
{
sprintf (filename, "%s/gtkrc", gimp_dir);
if ((be_verbose == TRUE) || (no_splash == TRUE))
g_print ("parsing \"%s\"\n", filename);
app_init_update_status("Resource configuration", filename, -1);
gtk_rc_parse (filename);
}
RESET_BAR();
parse_gimprc (); /* parse the local GIMP configuration file */
......
......@@ -66,7 +66,7 @@ gint
gdisplay_canvas_events (GtkWidget *canvas,
GdkEvent *event)
{
GDisplay *gdisp, *tool_gdisp;
GDisplay *gdisp;
GdkEventExpose *eevent;
GdkEventMotion *mevent;
GdkEventButton *bevent;
......
......@@ -66,7 +66,7 @@ gint
gdisplay_canvas_events (GtkWidget *canvas,
GdkEvent *event)
{
GDisplay *gdisp, *tool_gdisp;
GDisplay *gdisp;
GdkEventExpose *eevent;
GdkEventMotion *mevent;
GdkEventButton *bevent;
......
......@@ -66,7 +66,7 @@ gint
gdisplay_canvas_events (GtkWidget *canvas,
GdkEvent *event)
{
GDisplay *gdisp, *tool_gdisp;
GDisplay *gdisp;
GdkEventExpose *eevent;
GdkEventMotion *mevent;
GdkEventButton *bevent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment