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
@ -118,7 +118,7 @@ gimp_button_new (void)
|
||||
{
|
||||
GimpButton *button;
|
||||
|
||||
button = gtk_type_new (GIMP_TYPE_BUTTON);
|
||||
button = g_object_new (GIMP_TYPE_BUTTON, NULL);
|
||||
|
||||
return GTK_WIDGET (button);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user