plug-ins/gfig/gfig.c don't use GDK_MOTION_NOTIFY in as an event mask.

2002-04-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c
	* plug-ins/imagemap/imap_preview.c: don't use GDK_MOTION_NOTIFY in
	as an event mask.
This commit is contained in:
Sven Neumann 2002-04-24 11:17:12 +00:00 committed by Sven Neumann
parent 9270a4b5ad
commit bfd7861fba
3 changed files with 20 additions and 16 deletions

View File

@ -1,8 +1,14 @@
2002-04-24 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig.c
* plug-ins/imagemap/imap_preview.c: don't use GDK_MOTION_NOTIFY in
as an event mask.
2002-04-23 Nathan Summers <rock@gimp.org>
* libgimptool/gimptoolmodule.[ch]: More error checking. Also introduced
a versioning scheme. Increment GIMP_TOOL_MODULE_ABI_VERSION any time you
break binary compatiblity.
a versioning scheme. Increment GIMP_TOOL_MODULE_ABI_VERSION any time
you break binary compatiblity.
* plug-ins/tools/tool-safe-mode.c: call g_type_init().

View File

@ -110,14 +110,13 @@ extern void * gdk_root_parent;
#define BRUSH_PREVIEW_SZ 32
#define GFIG_HEADER "GFIG Version 0.1\n"
#define PREVIEW_MASK GDK_EXPOSURE_MASK | \
GDK_MOTION_NOTIFY | \
#define PREVIEW_MASK (GDK_EXPOSURE_MASK | \
GDK_POINTER_MOTION_MASK | \
GDK_BUTTON_PRESS_MASK | \
GDK_BUTTON_PRESS_MASK | \
GDK_BUTTON_RELEASE_MASK | \
GDK_BUTTON_MOTION_MASK | \
GDK_KEY_PRESS_MASK | \
GDK_KEY_RELEASE_MASK
GDK_BUTTON_MOTION_MASK | \
GDK_KEY_PRESS_MASK | \
GDK_KEY_RELEASE_MASK)
static GimpDrawable *gfig_select_drawable;
static GtkWidget *gfig_preview;

View File

@ -38,16 +38,15 @@
#include "imap_popup.h"
#include "imap_preview.h"
#define PREVIEW_MASK GDK_EXPOSURE_MASK | \
GDK_MOTION_NOTIFY | \
#define PREVIEW_MASK (GDK_EXPOSURE_MASK | \
GDK_POINTER_MOTION_MASK | \
GDK_BUTTON_PRESS_MASK | \
GDK_BUTTON_PRESS_MASK | \
GDK_BUTTON_RELEASE_MASK | \
GDK_BUTTON_MOTION_MASK | \
GDK_KEY_PRESS_MASK | \
GDK_KEY_RELEASE_MASK | \
GDK_ENTER_NOTIFY_MASK | \
GDK_LEAVE_NOTIFY_MASK
GDK_BUTTON_MOTION_MASK | \
GDK_KEY_PRESS_MASK | \
GDK_KEY_RELEASE_MASK | \
GDK_ENTER_NOTIFY_MASK | \
GDK_LEAVE_NOTIFY_MASK)
#define PREVIEW_SIZE 400