projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8733292
)
Cleanup
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 7 May 2023 13:32:09 +0000
(09:32 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 7 May 2023 13:32:09 +0000
(09:32 -0400)
demos/node-editor/node-editor-window.c
patch
|
blob
|
history
diff --git
a/demos/node-editor/node-editor-window.c
b/demos/node-editor/node-editor-window.c
index 40f03ae4878d9232515d7e8423eca53cfe955538..2872d83320af8a3c8857fc68cbf24c9ffadc13ed 100644
(file)
--- a/
demos/node-editor/node-editor-window.c
+++ b/
demos/node-editor/node-editor-window.c
@@
-1532,11
+1532,6
@@
edit_action_cb (GtkWidget *widget,
GtkTextBuffer *buffer;
GtkTextIter start, end;
-#if 0
- if (gtk_window_get_focus (GTK_WINDOW (self)) != self->text_view)
- return;
-#endif
-
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (self->text_view));
gtk_text_buffer_get_selection_bounds (buffer, &start, &end);