app/fileops.c Make sure that we don't try to destroy query_boxes twice or
2000-11-18 Michael Natterer <mitch@gimp.org> * app/fileops.c * libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy query_boxes twice or try to disconnect not-any-more connected handlers. * app/color_notebook.c * app/gimpcontext.[ch] * app/gimphelp.[ch] * app/lc_dialog.[ch] * app/menus.h * app/preferences_dialog.c * app/tools.[ch] * libgimp/gimpcolorbutton.[ch] * libgimp/gimpdialog.[ch] * libgimp/gimpexport.[ch] * libgimp/gimpfileselection.[ch] * libgimp/gimphelpui.[ch] * libgimp/gimppatheditor.[ch] * libgimp/gimppixmap.[ch] * libgimp/gimpsizeentry.[ch] * libgimp/gimpui.[ch] * libgimp/gimpunitmenu.[ch] * libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data and many other strings passed to UI functions to (const gchar *). As a consequence, I had to fix lots of warnings ;) * plug-ins/common/tga.c * plug-ins/imagemap/imap_main.c: fixed warnings. Code cleanup and indentation all over the place.
This commit is contained in:
committed by
Michael Natterer
parent
e1234e642f
commit
cdd0a5147d
@ -55,45 +55,45 @@ typedef void (* GimpQueryBooleanCallback) (GtkWidget *query_box,
|
||||
gpointer data);
|
||||
|
||||
/* some simple query dialogs */
|
||||
GtkWidget * gimp_query_string_box (gchar *title,
|
||||
GtkWidget * gimp_query_string_box (const gchar *title,
|
||||
GimpHelpFunc help_func,
|
||||
gchar *help_data,
|
||||
gchar *message,
|
||||
gchar *initial,
|
||||
const gchar *help_data,
|
||||
const gchar *message,
|
||||
const gchar *initial,
|
||||
GtkObject *object,
|
||||
gchar *signal,
|
||||
const gchar *signal,
|
||||
GimpQueryStringCallback callback,
|
||||
gpointer data);
|
||||
|
||||
GtkWidget * gimp_query_int_box (gchar *title,
|
||||
GtkWidget * gimp_query_int_box (const gchar *title,
|
||||
GimpHelpFunc help_func,
|
||||
gchar *help_data,
|
||||
char *message,
|
||||
const gchar *help_data,
|
||||
const gchar *message,
|
||||
gint initial,
|
||||
gint lower,
|
||||
gint upper,
|
||||
GtkObject *object,
|
||||
gchar *signal,
|
||||
const gchar *signal,
|
||||
GimpQueryIntCallback callback,
|
||||
gpointer data);
|
||||
|
||||
GtkWidget * gimp_query_double_box (gchar *title,
|
||||
GtkWidget * gimp_query_double_box (const gchar *title,
|
||||
GimpHelpFunc help_func,
|
||||
gchar *help_data,
|
||||
gchar *message,
|
||||
const gchar *help_data,
|
||||
const gchar *message,
|
||||
gdouble initial,
|
||||
gdouble lower,
|
||||
gdouble upper,
|
||||
gint digits,
|
||||
GtkObject *object,
|
||||
gchar *signal,
|
||||
const gchar *signal,
|
||||
GimpQueryDoubleCallback callback,
|
||||
gpointer data);
|
||||
|
||||
GtkWidget * gimp_query_size_box (gchar *title,
|
||||
GtkWidget * gimp_query_size_box (const gchar *title,
|
||||
GimpHelpFunc help_func,
|
||||
gchar *help_data,
|
||||
gchar *message,
|
||||
const gchar *help_data,
|
||||
const gchar *message,
|
||||
gdouble initial,
|
||||
gdouble lower,
|
||||
gdouble upper,
|
||||
@ -102,19 +102,19 @@ GtkWidget * gimp_query_size_box (gchar *title,
|
||||
gdouble resolution,
|
||||
gboolean dot_for_dot,
|
||||
GtkObject *object,
|
||||
gchar *signal,
|
||||
const gchar *signal,
|
||||
GimpQuerySizeCallback callback,
|
||||
gpointer data);
|
||||
|
||||
GtkWidget * gimp_query_boolean_box (gchar *title,
|
||||
GtkWidget * gimp_query_boolean_box (const gchar *title,
|
||||
GimpHelpFunc help_func,
|
||||
gchar *help_data,
|
||||
const gchar *help_data,
|
||||
gboolean eek,
|
||||
gchar *message,
|
||||
gchar *true_button,
|
||||
gchar *false_button,
|
||||
const gchar *message,
|
||||
const gchar *true_button,
|
||||
const gchar *false_button,
|
||||
GtkObject *object,
|
||||
gchar *signal,
|
||||
const gchar *signal,
|
||||
GimpQueryBooleanCallback callback,
|
||||
gpointer data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user