Commit 2f589a4e authored by Manish Singh's avatar Manish Singh

configure saves CFLAGS properly

all plugins should parse gtkrc now

-Yosh
parent 1e61a438
Sun Mar 15 22:32:17 PST 1998 Manish Singh <yosh@gimp.org>
* all plugins parse gtkrc now
* configure.in: save CFLAGS properly
Mon Mar 16 00:28:16 CST 1998 Larry Ewing <lewing@gimp.org>
* app/undo.c: added back in the "extra" update I removed earlier.
......
......@@ -62,12 +62,6 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_GIMP_CHECK
gimp_save_CFLAGS="$CFLAGS"
gimp_save_LIBS="$LIBS"
CFLAGS="$GTK_CFLAGS $CFLAGS"
LIBS="$LIBS $GTK_LIBS"
if eval "test x$GCC = xyes"; then
if echo "$CFLAGS" | grep "\-Wall" > /dev/null 2> /dev/null; then
CFLAGS="$CFLAGS"
......@@ -90,6 +84,12 @@ if eval "test x$GCC = xyes"; then
fi
fi
gimp_save_CFLAGS="$CFLAGS"
gimp_save_LIBS="$LIBS"
CFLAGS="$GTK_CFLAGS $CFLAGS"
LIBS="$LIBS $GTK_LIBS"
dnl Test for Xmu
if test -z "$LIBXMU_LIB"; then
AC_CHECK_LIB(Xmu, XmuClientWindow,
......
......@@ -646,6 +646,7 @@ alienmap_dialog(void)
argv[0] = g_strdup("alienmap");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
gtk_preview_set_gamma(gimp_gamma());
gtk_preview_set_install_cmap(gimp_install_cmap());
......
......@@ -798,7 +798,7 @@ bumpmap_dialog(void)
argv[0] = g_strdup("bumpmap");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
gdk_set_use_xshm(gimp_use_xshm());
gtk_preview_set_gamma(gimp_gamma());
......
......@@ -798,7 +798,7 @@ bumpmap_dialog(void)
argv[0] = g_strdup("bumpmap");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
gdk_set_use_xshm(gimp_use_xshm());
gtk_preview_set_gamma(gimp_gamma());
......
......@@ -43,6 +43,12 @@
* Revision History:
*
* $Log$
* Revision 1.6 1998/03/16 06:33:44 yosh
* configure saves CFLAGS properly
* all plugins should parse gtkrc now
*
* -Yosh
*
* Revision 1.5 1998/01/25 09:29:23 yosh
* Plugin updates
* Properly generated aa Makefile (still not built by default)
......@@ -246,7 +252,7 @@ query(void)
"Michael Sweet <mike@easysw.com>",
"Michael Sweet <mike@easysw.com>",
PLUG_IN_VERSION,
"<Image>/Filters/Enhance/Despeckle...", "RGB*, GRAY*",
"<Image>/Filters/Enhance/Despeckle", "RGB*, GRAY*",
PROC_PLUG_IN, nargs, nreturn_vals, args, return_vals);
}
......
......@@ -158,7 +158,7 @@ query(void)
"This plug-in tries to remove vertical stripes from an image.",
"Marc Lehmann <pcg@goof.com>", "Marc Lehmann <pcg@goof.com>",
PLUG_IN_VERSION,
"<Image>/Filters/Enhance/Destripe...",
"<Image>/Filters/Enhance/Destripe",
"RGB*, GRAY*",
PROC_PLUG_IN, nargs, nreturn_vals, args, return_vals);
}
......
......@@ -307,7 +307,7 @@ displace_dialog (GDrawable *drawable)
#endif
gtk_init (&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
dlg = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dlg), "Displace");
gtk_window_position (GTK_WINDOW (dlg), GTK_WIN_POS_MOUSE);
......
......@@ -309,6 +309,7 @@ int doDialog()
argv[0] = g_strdup("exchange");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
/* set up the dialog */
dialog = gtk_dialog_new();
......
......@@ -286,6 +286,7 @@ dialog ()
argv[0] = g_strdup ("plasma");
gtk_init (&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
dlg = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dlg), "Grid");
......
......@@ -332,6 +332,7 @@ static int dialog( void )
gchar **argv = g_new( gchar *, 1 );
argv[0] = g_strdup( DIALOG_CAPTION );
gtk_init( &argc, &argv );
gtk_rc_parse(gimp_gtkrc());
}
/* dialog window */
......
......@@ -37,6 +37,12 @@
* Revision History:
*
* $Log$
* Revision 1.3 1998/03/16 06:33:54 yosh
* configure saves CFLAGS properly
* all plugins should parse gtkrc now
*
* -Yosh
*
* Revision 1.2 1998/01/05 09:30:23 yosh
* Check for div-by-zero in by_color_select.c when threshold is 0
* The text tool handles the no fonts case better
......@@ -827,6 +833,7 @@ save_dialog(void)
argv[0] = g_strdup("png");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
/*
* Open a dialog window...
......
......@@ -703,6 +703,8 @@ randomize_dialog()
argv[0] = g_strdup("randomize");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
/*
* Open a new dialog, label it and set up its
* destroy callback.
......
......@@ -731,6 +731,7 @@ save_dialog ()
argv[0] = g_strdup ("save");
gtk_init (&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
dlg = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dlg), "Save as Xpm");
......
......@@ -43,6 +43,12 @@
* Revision History:
*
* $Log$
* Revision 1.6 1998/03/16 06:33:44 yosh
* configure saves CFLAGS properly
* all plugins should parse gtkrc now
*
* -Yosh
*
* Revision 1.5 1998/01/25 09:29:23 yosh
* Plugin updates
* Properly generated aa Makefile (still not built by default)
......@@ -246,7 +252,7 @@ query(void)
"Michael Sweet <mike@easysw.com>",
"Michael Sweet <mike@easysw.com>",
PLUG_IN_VERSION,
"<Image>/Filters/Enhance/Despeckle...", "RGB*, GRAY*",
"<Image>/Filters/Enhance/Despeckle", "RGB*, GRAY*",
PROC_PLUG_IN, nargs, nreturn_vals, args, return_vals);
}
......
......@@ -158,7 +158,7 @@ query(void)
"This plug-in tries to remove vertical stripes from an image.",
"Marc Lehmann <pcg@goof.com>", "Marc Lehmann <pcg@goof.com>",
PLUG_IN_VERSION,
"<Image>/Filters/Enhance/Destripe...",
"<Image>/Filters/Enhance/Destripe",
"RGB*, GRAY*",
PROC_PLUG_IN, nargs, nreturn_vals, args, return_vals);
}
......
......@@ -307,7 +307,7 @@ displace_dialog (GDrawable *drawable)
#endif
gtk_init (&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
dlg = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dlg), "Displace");
gtk_window_position (GTK_WINDOW (dlg), GTK_WIN_POS_MOUSE);
......
......@@ -309,6 +309,7 @@ int doDialog()
argv[0] = g_strdup("exchange");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
/* set up the dialog */
dialog = gtk_dialog_new();
......
......@@ -286,6 +286,7 @@ dialog ()
argv[0] = g_strdup ("plasma");
gtk_init (&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
dlg = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dlg), "Grid");
......
......@@ -91,6 +91,7 @@ mw_app_new(gchar *resname, gchar *appname, gint *runpp){
argv[0] = g_strdup(resname);
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
dlg = gtk_dialog_new();
gtk_object_set_data(GTK_OBJECT(dlg), "runp", runpp);
......
......@@ -332,6 +332,7 @@ static int dialog( void )
gchar **argv = g_new( gchar *, 1 );
argv[0] = g_strdup( DIALOG_CAPTION );
gtk_init( &argc, &argv );
gtk_rc_parse(gimp_gtkrc());
}
/* dialog window */
......
......@@ -37,6 +37,12 @@
* Revision History:
*
* $Log$
* Revision 1.3 1998/03/16 06:33:54 yosh
* configure saves CFLAGS properly
* all plugins should parse gtkrc now
*
* -Yosh
*
* Revision 1.2 1998/01/05 09:30:23 yosh
* Check for div-by-zero in by_color_select.c when threshold is 0
* The text tool handles the no fonts case better
......@@ -827,6 +833,7 @@ save_dialog(void)
argv[0] = g_strdup("png");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
/*
* Open a dialog window...
......
......@@ -703,6 +703,8 @@ randomize_dialog()
argv[0] = g_strdup("randomize");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
/*
* Open a new dialog, label it and set up its
* destroy callback.
......
......@@ -34,6 +34,12 @@
* Revision History:
*
* $Log$
* Revision 1.2 1998/03/16 06:33:56 yosh
* configure saves CFLAGS properly
* all plugins should parse gtkrc now
*
* -Yosh
*
* Revision 1.1.1.1 1997/11/24 22:04:37 sopwith
* Let's try this import one last time.
*
......@@ -674,6 +680,7 @@ save_dialog(void)
argv[0] = g_strdup("sgi");
gtk_init(&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
signal(SIGBUS, SIG_DFL);
signal(SIGSEGV, SIG_DFL);
......
......@@ -731,6 +731,7 @@ save_dialog ()
argv[0] = g_strdup ("save");
gtk_init (&argc, &argv);
gtk_rc_parse(gimp_gtkrc());
dlg = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (dlg), "Save as Xpm");
......
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