diff options
author | Owen Taylor <owt1@cornell.edu> | 1998-02-13 05:19:06 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-02-13 05:19:06 +0000 |
commit | 888470ee29e6956efc4122bdb9c24a1af0344079 (patch) | |
tree | 93c5eb8ba8f361957ee4a98334b3a5e2ec365ea3 /gtk/gtkselection.h | |
parent | dd07df15c1e39eb68a38ac4c15094a25f8e086cd (diff) | |
download | gdk-pixbuf-888470ee29e6956efc4122bdb9c24a1af0344079.tar.gz |
gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch]
Thu Feb 12 23:59:49 1998 Owen Taylor <owt1@cornell.edu>
* gtk/gtksignal.[ch] gtk/gtkmain.[ch] gtk/gtkcontainer.[ch]
gtk/gtkselection.[ch] gdk/gdk.[ch] gtktypeutils.h
Replaced all _interp functions with _full functions.
(_interp functions left in for compatibility until 0.99.5).
Difference: _full functions take _both_ a C-language callback and a
marshaller, and simply ignore the C-language callback
if the marshaller is present. This allows the destroy notification
to be used without marshalling.
gtk_selection_add_handler[_full]() regularized to agree
with other callbacks.
Also, added gtk_input_add_full() to the header file.
(gtk_input_add_interp() was never there)
* gtk/gtkmain.[ch] gtk/gtkwidget.c: Idle functions are now prioritized.
Added new function gtk_idle_add_priority to create
an idle with a specified priority (default is zero)
constants #defined - GTK_PRIORITY_[HIGH/INTERNAL/DEFAULT/LOW]
(redraws, resizes run at GTK_PRIORITY_INTERNAL)
* gtk/gtkentry.c gtk/testselection.c: changes to keep up with change
to gtkselection.c.
Diffstat (limited to 'gtk/gtkselection.h')
-rw-r--r-- | gtk/gtkselection.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h index 18f3dc4b5..92aa12b01 100644 --- a/gtk/gtkselection.h +++ b/gtk/gtkselection.h @@ -50,8 +50,14 @@ void gtk_selection_add_handler (GtkWidget *widget, GdkAtom selection, GdkAtom target, GtkSelectionFunction function, - GtkRemoveFunction remove_func, gpointer data); +void gtk_selection_add_handler_full (GtkWidget *widget, + GdkAtom selection, + GdkAtom target, + GtkSelectionFunction function, + GtkCallbackMarshal marshal, + gpointer data, + GtkDestroyNotify destroy); gint gtk_selection_convert (GtkWidget *widget, GdkAtom selection, GdkAtom target, |