From d4168a43226a0a8d68be70f09c3882197ac3aafb Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Wed, 26 Sep 2001 12:52:12 +0000 Subject: [PATCH] we require glib-1.3.9, pango-0.20, atk-0.5 and gtk+-1.3.9 available from 2001-09-26 Sven Neumann * configure.in: we require glib-1.3.9, pango-0.20, atk-0.5 and gtk+-1.3.9 available from ftp://ftp.gtk.org/pub/gtk/v1.3/. * HACKING: mention the fact that we will try to keep our source compileable against the latest development releases of gtk+ and friends. * app/plug_in.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * plug-ins/common/csource.c * plug-ins/common/wmf.c: follow glib API changes. * plug-ins/common/mail.c: fixed a warning. --- ChangeLog | 17 +++++++++++++++++ HACKING | 28 +++++++++++++++++----------- app/actions/plug-in-commands.c | 2 +- app/dialogs/file-open-dialog.c | 2 +- app/dialogs/file-save-dialog.c | 2 +- app/gui/file-open-dialog.c | 2 +- app/gui/file-save-dialog.c | 2 +- app/gui/plug-in-commands.c | 2 +- app/gui/plug-in-menus.c | 2 +- app/menus/plug-in-menus.c | 2 +- app/plug-in/gimpplugin-message.c | 2 +- app/plug-in/gimpplugin-progress.c | 2 +- app/plug-in/gimpplugin.c | 2 +- app/plug-in/gimppluginmanager-call.c | 2 +- app/plug-in/gimppluginmanager-run.c | 2 +- app/plug-in/gimppluginmanager.c | 2 +- app/plug-in/gimppluginshm.c | 2 +- app/plug-in/plug-in-def.c | 2 +- app/plug-in/plug-in-message.c | 2 +- app/plug-in/plug-in-params.c | 2 +- app/plug-in/plug-in-progress.c | 2 +- app/plug-in/plug-in-run.c | 2 +- app/plug-in/plug-in-shm.c | 2 +- app/plug-in/plug-in.c | 2 +- app/plug-in/plug-ins.c | 2 +- app/plug_in.c | 2 +- configure.in | 4 ++-- plug-ins/common/csource.c | 2 +- plug-ins/common/mail.c | 5 ++--- plug-ins/common/wmf.c | 2 +- 30 files changed, 64 insertions(+), 42 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9fd425b18c..7ba015ef23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2001-09-26 Sven Neumann + + * configure.in: we require glib-1.3.9, pango-0.20, atk-0.5 and + gtk+-1.3.9 available from ftp://ftp.gtk.org/pub/gtk/v1.3/. + + * HACKING: mention the fact that we will try to keep our source + compileable against the latest development releases of gtk+ and + friends. + + * app/plug_in.c + * app/gui/file-open-dialog.c + * app/gui/file-save-dialog.c + * plug-ins/common/csource.c + * plug-ins/common/wmf.c: follow glib API changes. + + * plug-ins/common/mail.c: fixed a warning. + 2001-09-26 Michael Natterer * app/Makefile.am diff --git a/HACKING b/HACKING index cce0029435..020a7e68fb 100644 --- a/HACKING +++ b/HACKING @@ -52,24 +52,30 @@ atk and gtk+. You can do the following to get them all from cvs: (there is no password, just hit return) $ cvs -z3 checkout gtk-doc glib pango atk gtk+ gimp +We will try our best to keep the GIMP CVS tree compileable against +the latest development releases of glib, pango, atk and gtk+. Since +it is sometimes difficult to get a working state out of CVS, you may +prefer to use these releases instead. Get them from +ftp://ftp.gtk.org/pub/gtk/v1.3/. + Patches ------- -Please submit patches to the gimp-developer@lists.xcf.berkeley.edu mailing -list. All kinds of contributions are accepted. Patches that you wish to go -into the distribution should also be uploaded to ftp://ftp.gimp.org/incoming. -Follow the rules there for naming your patches. +Please submit patches to the gimp-developer@lists.xcf.berkeley.edu +mailing list. All kinds of contributions are appreciated. Larger patches +should be uploaded to ftp://ftp.gimp.org/incoming/. Follow the rules +there for naming your patches. Autogenerated Files ------------------- -Please notice that some files in the source are generated from other sources. -All those files have a short notice about being autogenerated somewhere at -the top. Among them are the files ending in _pdb.[ch] in the libgimp -directory and the files ending in _cmds.c in the app/pdb subdirectory. Those -are generated from the respective .pdb files in tools/pdbgen/pdb. The list of -contributors is used in several files which are for that reason generated -from the file contributors in tools/authorsgen. +Please notice that some files in the source are generated from other +sources. All those files have a short notice about being autogenerated +somewhere at the top. Among them are the files ending in _pdb.[ch] in the +libgimp directory and the files ending in _cmds.c in the app/pdb +subdirectory. Those are generated from the respective .pdb files in +tools/pdbgen/pdb. The list of contributors is used in several files which +are for that reason generated from the file contributors in tools/authorsgen. Hackordnung diff --git a/app/actions/plug-in-commands.c b/app/actions/plug-in-commands.c index 12b9886464..00ea717df6 100644 --- a/app/actions/plug-in-commands.c +++ b/app/actions/plug-in-commands.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/dialogs/file-open-dialog.c b/app/dialogs/file-open-dialog.c index 68f8f47ee5..65f1b9396f 100644 --- a/app/dialogs/file-open-dialog.c +++ b/app/dialogs/file-open-dialog.c @@ -118,7 +118,7 @@ file_open_dialog_menu_init (void) basename = g_path_get_basename (file_proc->prog); - lowercase_basename = g_ascii_strdown (basename); + lowercase_basename = g_ascii_strdown (basename, -1); g_free (basename); diff --git a/app/dialogs/file-save-dialog.c b/app/dialogs/file-save-dialog.c index 235386bb12..e7ec81d4a3 100644 --- a/app/dialogs/file-save-dialog.c +++ b/app/dialogs/file-save-dialog.c @@ -112,7 +112,7 @@ file_save_dialog_menu_init (void) g_free (basename); - lowercase_page = g_ascii_strdown (page); + lowercase_page = g_ascii_strdown (page, -1); g_free (page); diff --git a/app/gui/file-open-dialog.c b/app/gui/file-open-dialog.c index 68f8f47ee5..65f1b9396f 100644 --- a/app/gui/file-open-dialog.c +++ b/app/gui/file-open-dialog.c @@ -118,7 +118,7 @@ file_open_dialog_menu_init (void) basename = g_path_get_basename (file_proc->prog); - lowercase_basename = g_ascii_strdown (basename); + lowercase_basename = g_ascii_strdown (basename, -1); g_free (basename); diff --git a/app/gui/file-save-dialog.c b/app/gui/file-save-dialog.c index 235386bb12..e7ec81d4a3 100644 --- a/app/gui/file-save-dialog.c +++ b/app/gui/file-save-dialog.c @@ -112,7 +112,7 @@ file_save_dialog_menu_init (void) g_free (basename); - lowercase_page = g_ascii_strdown (page); + lowercase_page = g_ascii_strdown (page, -1); g_free (page); diff --git a/app/gui/plug-in-commands.c b/app/gui/plug-in-commands.c index 12b9886464..00ea717df6 100644 --- a/app/gui/plug-in-commands.c +++ b/app/gui/plug-in-commands.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/gui/plug-in-menus.c b/app/gui/plug-in-menus.c index 12b9886464..00ea717df6 100644 --- a/app/gui/plug-in-menus.c +++ b/app/gui/plug-in-menus.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/menus/plug-in-menus.c b/app/menus/plug-in-menus.c index 12b9886464..00ea717df6 100644 --- a/app/menus/plug-in-menus.c +++ b/app/menus/plug-in-menus.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/gimpplugin-message.c b/app/plug-in/gimpplugin-message.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/gimpplugin-message.c +++ b/app/plug-in/gimpplugin-message.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/gimpplugin-progress.c b/app/plug-in/gimpplugin-progress.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/gimpplugin-progress.c +++ b/app/plug-in/gimpplugin-progress.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/gimpplugin.c b/app/plug-in/gimpplugin.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/gimpplugin.c +++ b/app/plug-in/gimpplugin.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/gimppluginmanager-call.c b/app/plug-in/gimppluginmanager-call.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/gimppluginmanager-call.c +++ b/app/plug-in/gimppluginmanager-call.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/gimppluginmanager-run.c b/app/plug-in/gimppluginmanager-run.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/gimppluginmanager-run.c +++ b/app/plug-in/gimppluginmanager-run.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/gimppluginmanager.c b/app/plug-in/gimppluginmanager.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/gimppluginmanager.c +++ b/app/plug-in/gimppluginmanager.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/gimppluginshm.c b/app/plug-in/gimppluginshm.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/gimppluginshm.c +++ b/app/plug-in/gimppluginshm.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/plug-in-def.c b/app/plug-in/plug-in-def.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/plug-in-def.c +++ b/app/plug-in/plug-in-def.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/plug-in-message.c b/app/plug-in/plug-in-message.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/plug-in-message.c +++ b/app/plug-in/plug-in-message.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/plug-in-params.c b/app/plug-in/plug-in-params.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/plug-in-params.c +++ b/app/plug-in/plug-in-params.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/plug-in-progress.c b/app/plug-in/plug-in-progress.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/plug-in-progress.c +++ b/app/plug-in/plug-in-progress.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/plug-in-run.c b/app/plug-in/plug-in-run.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/plug-in-run.c +++ b/app/plug-in/plug-in-run.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/plug-in-shm.c b/app/plug-in/plug-in-shm.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/plug-in-shm.c +++ b/app/plug-in/plug-in-shm.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/plug-in.c b/app/plug-in/plug-in.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/plug-in.c +++ b/app/plug-in/plug-in.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug-in/plug-ins.c b/app/plug-in/plug-ins.c index 12b9886464..00ea717df6 100644 --- a/app/plug-in/plug-ins.c +++ b/app/plug-in/plug-ins.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/app/plug_in.c b/app/plug_in.c index 12b9886464..00ea717df6 100644 --- a/app/plug_in.c +++ b/app/plug_in.c @@ -2594,7 +2594,7 @@ plug_in_make_menu_entry (gpointer foo, g_free (basename); - lowercase_page = g_ascii_strdown (help_page); + lowercase_page = g_ascii_strdown (help_page, -1); g_free (help_page); diff --git a/configure.in b/configure.in index 80fa1e6574..b5a334c915 100644 --- a/configure.in +++ b/configure.in @@ -117,7 +117,7 @@ if ! pkg-config --atleast-pkgconfig-version 0.7 ; then fi dnl Check for GTK+ -AM_PATH_GTK_2_0(1.3.8,, +AM_PATH_GTK_2_0(1.3.9,, AC_MSG_ERROR(Test for GTK failed. See the file 'INSTALL' for help.)) changequote(,)dnl @@ -143,7 +143,7 @@ changequote([,])dnl dnl dnl Check for PangoFT2 dnl -PANGOFT2_REQUIRED_VERSION=0.19 +PANGOFT2_REQUIRED_VERSION=0.20 AC_MSG_CHECKING([for Freetype 2.0 font support for Pango]) if $PKG_CONFIG --atleast-version $PANGOFT2_REQUIRED_VERSION pangoft2; then diff --git a/plug-ins/common/csource.c b/plug-ins/common/csource.c index e4c6da5bca..b4de0ddac7 100644 --- a/plug-ins/common/csource.c +++ b/plug-ins/common/csource.c @@ -475,7 +475,7 @@ save_image (Config *config, s_null = "(char*) 0"; } - macro_name = g_ascii_strup (config->prefixed_name); + macro_name = g_ascii_strup (config->prefixed_name, -1); basename = g_path_get_basename (config->file_name); diff --git a/plug-ins/common/mail.c b/plug-ins/common/mail.c index 7342a04102..cb34da283e 100644 --- a/plug-ins/common/mail.c +++ b/plug-ins/common/mail.c @@ -723,9 +723,8 @@ static void mesg_body_callback (GtkTextBuffer *buffer, gpointer data) { - GtkTextIter start_iter; - GtkTextIter end_iter; - gchar *text; + GtkTextIter start_iter; + GtkTextIter end_iter; gtk_text_buffer_get_bounds (buffer, &start_iter, &end_iter); gtk_text_iter_backward_char (&end_iter); diff --git a/plug-ins/common/wmf.c b/plug-ins/common/wmf.c index f89414cfea..d8f17f188a 100644 --- a/plug-ins/common/wmf.c +++ b/plug-ins/common/wmf.c @@ -1907,7 +1907,7 @@ load_image (char *filename) * they will be mapped back to typical Windows * fonts, sigh... */ - name = g_ascii_strdown (name); + name = g_ascii_strdown (name, -1); if (strcmp (name, "system") == 0 || strcmp (name, "fixedsys") == 0)