plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
2001-07-29 Sven Neumann <sven@gimp.org> * plug-ins/FractalExplorer/Dialogs.c * plug-ins/Lighting/lighting_ui.c * plug-ins/MapObject/mapobject_ui.c * plug-ins/fits/fits.c * plug-ins/flame/flame.c * plug-ins/ifscompose/ifscompose.c * plug-ins/maze/maze_face.c * plug-ins/mosaic/mosaic.c * plug-ins/rcm/rcm_dialog.c * plug-ins/sgi/sgi.c: removed compiler warnings by adding G_CALLBACK() casts and const declarations.
This commit is contained in:
committed by
Sven Neumann
parent
c1d4e892a4
commit
8ee2ebd0de
@ -560,7 +560,8 @@ create_options_page (void)
|
||||
gtk_widget_show (label);
|
||||
|
||||
optionmenu =
|
||||
gimp_option_menu_new2 (FALSE, mapmenu_callback,
|
||||
gimp_option_menu_new2 (FALSE,
|
||||
G_CALLBACK (mapmenu_callback),
|
||||
&mapvals.maptype,
|
||||
(gpointer) mapvals.maptype,
|
||||
|
||||
@ -712,7 +713,8 @@ create_light_page (void)
|
||||
gtk_container_set_border_width (GTK_CONTAINER (table), 4);
|
||||
gtk_container_add (GTK_CONTAINER (frame), table); gtk_widget_show (table);
|
||||
|
||||
optionmenu = gimp_option_menu_new2 (FALSE, lightmenu_callback,
|
||||
optionmenu = gimp_option_menu_new2 (FALSE,
|
||||
G_CALLBACK (lightmenu_callback),
|
||||
&mapvals.lightsource.type,
|
||||
(gpointer) mapvals.lightsource.type,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user