Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine2002-11-15 17:00:03 +0000
committerVeronika Irvine2002-11-15 17:00:03 +0000
commit8ac3a31d4d15c8b28a6fa8fa8b55cec146fb6dfb (patch)
tree869361efb0fa66aeee39212bed283577d7e92be4
parentb70c6aa3186b07a1818ec026a6de51320bce8c07 (diff)
downloadeclipse.platform.swt-patch_v2116c.tar.gz
eclipse.platform.swt-patch_v2116c.tar.xz
eclipse.platform.swt-patch_v2116c.zip
*** empty log message ***patch_v2116c
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
index 112f8fc47d..0c0a87cafb 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
@@ -870,9 +870,9 @@ int gtk_insert_text (int widget, int int0, int int1, int int2) {
}
if (newText != oldText) {
byte [] buffer1 = Converter.wcsToMbcs (null, newText, false);
- OS.g_signal_handlers_block_matched (handle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, INSERT_TEXT);
+ OS.g_signal_handlers_block_matched (bufferHandle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, INSERT_TEXT);
OS.gtk_text_buffer_insert (bufferHandle, iter, buffer1, buffer1.length);
- OS.g_signal_handlers_unblock_matched (handle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, INSERT_TEXT);
+ OS.g_signal_handlers_unblock_matched (bufferHandle, OS.G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, INSERT_TEXT);
OS.g_signal_stop_emission_by_name (bufferHandle, OS.insert_text);
return 0;
}

Back to the top