summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2009-09-11 17:50:26 +0000
committerjstebbins <[email protected]>2009-09-11 17:50:26 +0000
commitbc0d347b68e70d98672f55525275bddd344df004 (patch)
treedc2bd7287edcb7a079bb956cd65a662f746a579b /gtk
parentad14dd0a387d1ffe174f76322c632845fc353126 (diff)
LinGui: fix a Gtk-CRITICAL error when editing chapter names
After entering a chapter name AND navigitaing to the next name using the keyboard THEN selecting another name using the mouse, gtk would barf: Gtk-CRITICAL **: _gtk_tree_view_column_start_editing: assertion `tree_column->editable_widget == NULL' failed git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2814 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/ghbcellrenderertext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/ghbcellrenderertext.c b/gtk/src/ghbcellrenderertext.c
index 849cdd242..0da8b3c8b 100644
--- a/gtk/src/ghbcellrenderertext.c
+++ b/gtk/src/ghbcellrenderertext.c
@@ -1844,8 +1844,8 @@ ghb_cell_renderer_text_focus_out_event (GtkWidget *entry,
return FALSE;
GTK_ENTRY (entry)->editing_canceled = TRUE;
- gtk_cell_editable_editing_done (GTK_CELL_EDITABLE (entry));
gtk_cell_editable_remove_widget (GTK_CELL_EDITABLE (entry));
+ gtk_cell_editable_editing_done (GTK_CELL_EDITABLE (entry));
/* entry needs focus-out-event */
return FALSE;