]> Pileus Git - ~andy/gtk/commitdiff
Use gtk_entry_get_public_chars. Fixes #79532.
authorAnders Carlsson <andersca@gnu.org>
Mon, 22 Apr 2002 20:52:14 +0000 (20:52 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Mon, 22 Apr 2002 20:52:14 +0000 (20:52 +0000)
2002-04-22  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkentry.c (gtk_entry_drag_data_get): Use
gtk_entry_get_public_chars. Fixes #79532.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkentry.c

index a62438cd4be021e9260e21257cd4f89dbbe4ebc9..b2bfe328cc75f0c75612397ce374dbe3debf1d40 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-22  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkentry.c (gtk_entry_drag_data_get): Use 
+       gtk_entry_get_public_chars. Fixes #79532.
+
 Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
 
        This commit adds stock icon functionality to GtkCellRendererPixbuf
@@ -12,6 +17,7 @@ Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
        icon stuff in the cellrendererpixbuf instead of its own stock icon
        rendering code.
 
+
 2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
 
        * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
index a62438cd4be021e9260e21257cd4f89dbbe4ebc9..b2bfe328cc75f0c75612397ce374dbe3debf1d40 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-22  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkentry.c (gtk_entry_drag_data_get): Use 
+       gtk_entry_get_public_chars. Fixes #79532.
+
 Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
 
        This commit adds stock icon functionality to GtkCellRendererPixbuf
@@ -12,6 +17,7 @@ Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
        icon stuff in the cellrendererpixbuf instead of its own stock icon
        rendering code.
 
+
 2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
 
        * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
index a62438cd4be021e9260e21257cd4f89dbbe4ebc9..b2bfe328cc75f0c75612397ce374dbe3debf1d40 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-22  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkentry.c (gtk_entry_drag_data_get): Use 
+       gtk_entry_get_public_chars. Fixes #79532.
+
 Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
 
        This commit adds stock icon functionality to GtkCellRendererPixbuf
@@ -12,6 +17,7 @@ Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
        icon stuff in the cellrendererpixbuf instead of its own stock icon
        rendering code.
 
+
 2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
 
        * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
index a62438cd4be021e9260e21257cd4f89dbbe4ebc9..b2bfe328cc75f0c75612397ce374dbe3debf1d40 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-22  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkentry.c (gtk_entry_drag_data_get): Use 
+       gtk_entry_get_public_chars. Fixes #79532.
+
 Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
 
        This commit adds stock icon functionality to GtkCellRendererPixbuf
@@ -12,6 +17,7 @@ Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
        icon stuff in the cellrendererpixbuf instead of its own stock icon
        rendering code.
 
+
 2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
 
        * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
index a62438cd4be021e9260e21257cd4f89dbbe4ebc9..b2bfe328cc75f0c75612397ce374dbe3debf1d40 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-22  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkentry.c (gtk_entry_drag_data_get): Use 
+       gtk_entry_get_public_chars. Fixes #79532.
+
 Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
 
        This commit adds stock icon functionality to GtkCellRendererPixbuf
@@ -12,6 +17,7 @@ Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
        icon stuff in the cellrendererpixbuf instead of its own stock icon
        rendering code.
 
+
 2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
 
        * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
index a62438cd4be021e9260e21257cd4f89dbbe4ebc9..b2bfe328cc75f0c75612397ce374dbe3debf1d40 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-22  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkentry.c (gtk_entry_drag_data_get): Use 
+       gtk_entry_get_public_chars. Fixes #79532.
+
 Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
 
        This commit adds stock icon functionality to GtkCellRendererPixbuf
@@ -12,6 +17,7 @@ Mon Apr 22 19:24:29 2002  Kristian Rietveld  <kris@gtk.org>
        icon stuff in the cellrendererpixbuf instead of its own stock icon
        rendering code.
 
+
 2002-04-21  Alexander Larsson  <alla@lysator.liu.se>
 
        * gdk/x11/gdkwindow-x11.c (gdk_window_reparent):
index 3e6534e88ab7b844eded8d5d52a7b71301d4dca3..99f80152e9b8cb18741f71088fad84676174bf6b 100644 (file)
@@ -4088,7 +4088,7 @@ gtk_entry_drag_data_get (GtkWidget        *widget,
   
   if (gtk_editable_get_selection_bounds (editable, &sel_start, &sel_end))
     {
-      gchar *str = gtk_editable_get_chars (editable, sel_start, sel_end);
+      gchar *str = gtk_entry_get_public_chars (GTK_ENTRY (widget), sel_start, sel_end);
 
       gtk_selection_data_set_text (selection_data, str, -1);