mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp
2005-09-29 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/progress.pdb: removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp function again. * libgimp/gimpprogress_pdb.[ch]: regenerated. * libgimp/gimpprogress.[ch]: changed the old gimp_progress_set_text() to gimp_progress_set_text_printf() and added gimp_progress_init_printf(). (did this because the method of calling init(NULL) followed by set_text("foo") caused popup progress windows to be resized after they were shown). * libgimp/gimp.def: changed accordingly. * plug-ins/*/*.c: use gimp_progress_init_printf() instead of init(NULL) plus set_text(foo) and changed users of set_text() to use set_text_printf().
This commit is contained in:
parent
eb4545886f
commit
e3da6be9b5
45 changed files with 201 additions and 219 deletions
|
@ -53,12 +53,14 @@ struct _GimpProgressVtable
|
|||
};
|
||||
|
||||
|
||||
const gchar * gimp_progress_install_vtable (const GimpProgressVtable *vtable,
|
||||
gpointer user_data);
|
||||
gpointer gimp_progress_uninstall (const gchar *progress_callback);
|
||||
const gchar * gimp_progress_install_vtable (const GimpProgressVtable *vtable,
|
||||
gpointer user_data);
|
||||
gpointer gimp_progress_uninstall (const gchar *progress_callback);
|
||||
|
||||
gboolean gimp_progress_set_text (const gchar *format,
|
||||
...) G_GNUC_PRINTF (1, 2);
|
||||
gboolean gimp_progress_init_printf (const gchar *format,
|
||||
...) G_GNUC_PRINTF (1, 2);
|
||||
gboolean gimp_progress_set_text_printf (const gchar *format,
|
||||
...) G_GNUC_PRINTF (1, 2);
|
||||
|
||||
|
||||
#ifndef GIMP_DISABLE_DEPRECATED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue