summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1999-01-05 23:45:21 +0000
committerOwen Taylor <otaylor@src.gnome.org>1999-01-05 23:45:21 +0000
commit1fd7a6e491b6b76f9281bb14e6161a75df71bf5e (patch)
treea58f1fc1d43aade9e3268238c6caab970f94f12a /gtk/gtkmain.h
parentce87813af668f77f19509b0b69d6ee9b529cc231 (diff)
downloadgtk+-1fd7a6e491b6b76f9281bb14e6161a75df71bf5e.tar.gz
Make gtk_propagate_event() non-static, we need it in gtkdnd.c so that the
Tue Jan 5 15:03:47 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkmain.c (gtk_propagate_event): Make gtk_propagate_event() non-static, we need it in gtkdnd.c so that the button-release we synthesize gets propagated correctly. * gtk/gtkdnd.c: Use gtk_propagate_event() so release gets to a GtkList. But we can't really get this right without access to the windows event masks and doing X-style propagation ourselves. Tue Jan 5 11:31:55 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkselection.c (gtk_target_list_unref): Free memory allocated for target lists. * gtk/gtkdnd.c (gtk_drag_drop_finished): Release selections before destroying info structure. * gdk/gdkdnd.c gdktypes.h (gdk_drag_get_protocol): Add new value GDK_DRAG_PROTO_NONE, use it for non-drag targets, to quiet Purify. * gdk/gdkdnd.c (gdk_window_register_dnd): Set size of property properly.
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r--gtk/gtkmain.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index 2c7e4eab44..b44489f89f 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -139,6 +139,11 @@ GdkEvent* gtk_get_current_event (void);
GtkWidget* gtk_get_event_widget (GdkEvent *event);
+/* Private routines internal to GTK+
+ */
+void gtk_propagate_event (GtkWidget *widget,
+ GdkEvent *event);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */