Skip to content
Snippets Groups Projects
Commit 2aa4e680 authored by edgrif's avatar edgrif
Browse files

gtk2 has different text widget calls.

parent 582cc7d2
No related branches found
No related tags found
No related merge requests found
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
* Description: * Description:
* Exported functions: See XXXXXXXXXXXXX.h * Exported functions: See XXXXXXXXXXXXX.h
* HISTORY: * HISTORY:
* Last edited: Aug 7 14:48 2003 (edgrif) * Last edited: Nov 14 17:40 2003 (edgrif)
* Created: Thu Jul 24 14:36:27 2003 (edgrif) * Created: Thu Jul 24 14:36:27 2003 (edgrif)
* CVS info: $Id: zmapWindow.c,v 1.1 2003-11-13 15:06:17 edgrif Exp $ * CVS info: $Id: zmapWindow.c,v 1.2 2003-11-14 17:40:45 edgrif Exp $
*------------------------------------------------------------------- *-------------------------------------------------------------------
*/ */
...@@ -194,8 +194,8 @@ static void dataEventCB(GtkWidget *widget, GdkEventClient *event, gpointer cb_da ...@@ -194,8 +194,8 @@ static void dataEventCB(GtkWidget *widget, GdkEventClient *event, gpointer cb_da
ZMAP_DEBUG(("GUI: got dataEvent, contents: \"%s\"\n", string)) ; ZMAP_DEBUG(("GUI: got dataEvent, contents: \"%s\"\n", string)) ;
#endif /* ED_G_NEVER_INCLUDE_THIS_CODE */ #endif /* ED_G_NEVER_INCLUDE_THIS_CODE */
gtk_text_buffer_insert(gtk_text_view_get_buffer(GTK_TEXT_VIEW(window->text)),
gtk_text_insert(GTK_TEXT(window->text), NULL, NULL, NULL, string, strlen(string)) ; NULL, string, -1) ; /* -1 => insert whole string. */
g_free(string) ; g_free(string) ;
g_free(window_data) ; g_free(window_data) ;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment