Commit 06225004 authored by David Odin's avatar David Odin
Browse files

call gfig_grid_colours() in the realize callback of the preview, so the

* plug-ins/gfig/gfig-preview.c: call gfig_grid_colours() in the
  realize callback of the preview, so the gray gc of the grid works
  again. Reported by Zigomar.

* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-preview.h
* plug-ins/gfig/gfig-spiral.h
* plug-ins/gfig/gfig-star.h
* plug-ins/gfig/notes.txt: small cosmetics fixes.
parent 3349c37a
2004-11-21 DindinX <dindinx@gimp.org>
* plug-ins/gfig/gfig-preview.c: call gfig_grid_colours() in the
realize callback of the preview, so the gray gc of the grid works
again. Reported by Zigomar.
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-preview.h
* plug-ins/gfig/gfig-spiral.h
* plug-ins/gfig/gfig-star.h
* plug-ins/gfig/notes.txt: small cosmetics fixes.
2004-11-21 Sven Neumann <sven@gimp.org>
 
* plug-ins/common/compose.c
......
......@@ -355,7 +355,7 @@ object_operation_start (GdkPoint *pnt,
if (shift_down && selvals.otype == MOVE_OBJ)
{
move_all_pnt = g_malloc0 (sizeof (*move_all_pnt));
move_all_pnt = g_new (GdkPoint, 1);
*move_all_pnt = *pnt; /* Structure copy */
setup_undo ();
return;
......@@ -773,7 +773,7 @@ add_to_all_obj (GFigObj *fobj,
*/
void
object_start (GdkPoint *pnt,
gint shift_down)
gboolean shift_down)
{
/* start for the current object */
if (!selvals.scaletoimage)
......
......@@ -145,6 +145,7 @@ gfig_preview_realize (GtkWidget *widget)
gdk_window_set_cursor (gfig_context->preview->window,
gdk_cursor_new_for_display (display, GDK_CROSSHAIR));
gfig_grid_colours (widget);
}
static void
......
......@@ -28,10 +28,10 @@
#define PREVIEW_SIZE 400
GtkWidget *make_preview (void);
void gfig_update_stat_labels (void);
void gfig_pos_enable (GtkWidget *widget,
gpointer data);
void dialog_update_preview (GimpDrawable *drawable);
GtkWidget *make_preview (void);
void gfig_update_stat_labels (void);
void gfig_pos_enable (GtkWidget *widget,
gpointer data);
void dialog_update_preview (GimpDrawable *drawable);
#endif /* __GFIG_PREVIEW_H__ */
......@@ -30,9 +30,9 @@ void tool_options_spiral (GtkWidget *notebook);
void d_update_spiral (GdkPoint *pnt);
void d_spiral_start (GdkPoint *pnt,
gint shift_down);
gboolean shift_down);
void d_spiral_end (GdkPoint *pnt,
gint shift_down);
gboolean shift_down);
void d_spiral_object_class_init (void);
......
......@@ -30,9 +30,9 @@ void tool_options_star (GtkWidget *notebook);
void d_update_star (GdkPoint *pnt);
void d_star_start (GdkPoint *pnt,
gint shift_down);
gboolean shift_down);
void d_star_end (GdkPoint *pnt,
gint shift_down);
gboolean shift_down);
void d_star_object_class_init (void);
......
......@@ -59,8 +59,3 @@ is about to happen, but it is difficult to implement, because Gimp
does not yet provide an easy way to tell whether a layer has been
modified (as far as I know).
PLEASE DO NOT FILE BUG REPORTS ABOUT THIS VERSION OF GFIG. Given the
pace of development, it would just be unnecessary clutter in
Bugzilla. I would be happy to see your thoughts, though; my address
is weskaggs@primate.ucdavis.edu.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment