app/commands.c app/layers_dialog.c behave like a widget: removed
2000-04-06 Michael Natterer <mitch@gimp.org> * app/commands.c * app/layers_dialog.c * app/resize.[ch]: behave like a widget: removed resize_widget_free() and call gtk_widget_destroy(resize->resize_shell) instead. * app/interface.c: s/0/FALSE/ * app/color_area.c * libgimp/gimpchainbutton.c: show the correct background also for engine driven themes. The chainbutton's lines still don't draw with the pixmap theme, which is probably a bug of the theme's draw_polygon method.
This commit is contained in:

committed by
Michael Natterer

parent
56f1372519
commit
61184c16c9
@ -37,7 +37,6 @@ typedef struct _Resize Resize;
|
||||
|
||||
struct _Resize
|
||||
{
|
||||
/* The calling procedure is respondible for showing this widget */
|
||||
GtkWidget *resize_shell;
|
||||
|
||||
ResizeType type;
|
||||
@ -66,13 +65,18 @@ typedef struct
|
||||
GimpImage *gimage;
|
||||
} ImageResize;
|
||||
|
||||
/* If resolution_x is zero, then don't show resolution modification
|
||||
* parts of the dialog. If object is non-NULL, then attach the cancel
|
||||
* callback to its destroy signal. */
|
||||
/* If resolution_x is zero, then don't show resolution modification
|
||||
* parts of the dialog.
|
||||
*
|
||||
* If object and signal are non-NULL, then attach the cancel callback to signal.
|
||||
*
|
||||
* If cancel_callback is NULL, then the dialog will be destroyed on "Cancel".
|
||||
*/
|
||||
|
||||
Resize * resize_widget_new (ResizeType type,
|
||||
ResizeTarget target,
|
||||
GtkObject * object,
|
||||
GtkObject *object,
|
||||
gchar *signal,
|
||||
gint width,
|
||||
gint height,
|
||||
gdouble resolution_x,
|
||||
@ -82,11 +86,10 @@ Resize * resize_widget_new (ResizeType type,
|
||||
GtkSignalFunc ok_cb,
|
||||
GtkSignalFunc cancel_cb,
|
||||
gpointer user_data);
|
||||
void resize_widget_free (Resize * resize);
|
||||
|
||||
/* Layer scaling sanity check and warning dialogs */
|
||||
|
||||
gboolean resize_check_layer_scaling (ImageResize *);
|
||||
void resize_scale_implement (ImageResize *);
|
||||
gboolean resize_check_layer_scaling (ImageResize *image_resize);
|
||||
void resize_scale_implement (ImageResize *image_resize);
|
||||
|
||||
#endif /* __RESIZE_H__ */
|
||||
|
Reference in New Issue
Block a user