fix compiler warning.
2001-08-10 Michael Natterer <mitch@convergence.de> * app/nav_window.c: fix compiler warning. * app/core/gimp.[ch]: added gimp->documents which will be an MRU list of GimpImagefile objects. * app/core/gimpcontainer.c: added some g_return_if_fail(). * app/gui/palette-editor.c: use GtkImage instead of GtkPixmap, s/gtk_signal_*/g_signal_*/. * app/widgets/gimppreview.c: render the checkerboard only for channel == -1. In particular, don't render it for channel previews. * app/module_db.c * app/core/*.c * app/gui/colormap-dialog.c * app/tools/gimpairbrushtool.c * app/tools/gimpdodgeburntool.c * app/tools/gimpeditselectiontool.c * app/tools/gimperasertool.c * app/tools/gimppaintbrushtool.c * app/tools/gimppenciltool.c * app/tools/gimpsmudgetool.c * app/tools/tool_manager.c * app/widgets/*.c * libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
This commit is contained in:
committed by
Michael Natterer
parent
457854317a
commit
2353c5d3e7
@ -174,7 +174,7 @@ gimp_unit_menu_new (const gchar *format,
|
||||
(unit != GIMP_UNIT_PERCENT))
|
||||
show_custom = TRUE;
|
||||
|
||||
gum = gtk_type_new (gimp_unit_menu_get_type ());
|
||||
gum = g_object_new (GIMP_TYPE_UNIT_MENU, NULL);
|
||||
|
||||
gum->format = g_strdup (format);
|
||||
gum->show_pixels = show_pixels;
|
||||
|
||||
Reference in New Issue
Block a user