return FALSE in event_handlers so you use the preview_widget in a button

--Sven
This commit is contained in:
Sven Neumann 1999-09-07 00:07:05 +00:00
parent d9ab679079
commit a07532d955
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Tue Sep 7 02:09:31 MEST 1999 Sven Neumann <sven@gimp.org>
* app/gimpcontextpreview.c: return FALSE in event_handlers.
Tue Sep 7 02:03:18 MEST 1999 Sven Neumann <sven@gimp.org> Tue Sep 7 02:03:18 MEST 1999 Sven Neumann <sven@gimp.org>
* configure.in * configure.in

View File

@ -316,7 +316,7 @@ gimp_context_preview_button_press_event (GtkWidget *widget,
} }
gtk_signal_emit_by_name (GTK_OBJECT (widget), "clicked"); gtk_signal_emit_by_name (GTK_OBJECT (widget), "clicked");
} }
return TRUE; return FALSE;
} }
static gint static gint
@ -328,7 +328,7 @@ gimp_context_preview_button_release_event (GtkWidget *widget,
gdk_pointer_ungrab (bevent->time); gdk_pointer_ungrab (bevent->time);
gimp_context_preview_popup_close (); gimp_context_preview_popup_close ();
} }
return TRUE; return FALSE;
} }
static void static void