summaryrefslogtreecommitdiff
path: root/gtk/gtkclipboard.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-10-31 23:49:09 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-10-31 23:49:09 +0000
commit2145a4ef10fef74e42c4f893097021d6b1a7d5e9 (patch)
tree4ce386c83514e2b72e5784143d471c587983c88c /gtk/gtkclipboard.c
parent7dccab8f3de75a334b70c942dd9597adbe361219 (diff)
downloadgtk+-2145a4ef10fef74e42c4f893097021d6b1a7d5e9.tar.gz
Add a "menu" property and notify on it. (#62798, Padraig O'Briain)
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkoptionmenu.c (gtk_option_menu_detacher): Add a "menu" property and notify on it. (#62798, Padraig O'Briain) * gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c, gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}: Fix set_text to take a gchar, not a guchar, and to have a len argument.
Diffstat (limited to 'gtk/gtkclipboard.c')
-rw-r--r--gtk/gtkclipboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkclipboard.c b/gtk/gtkclipboard.c
index 6556231733..dab3d3e051 100644
--- a/gtk/gtkclipboard.c
+++ b/gtk/gtkclipboard.c
@@ -498,7 +498,7 @@ text_get_func (GtkClipboard *clipboard,
guint info,
gpointer data)
{
- gtk_selection_data_set_text (selection_data, data);
+ gtk_selection_data_set_text (selection_data, data, -1);
}
static void