summaryrefslogtreecommitdiffstats
path: root/gtk-gui.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-05 22:19:21 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-05 22:19:21 -0800
commitb1dc9bf26d8538001a120c8c1635a12129f13c8c (patch)
tree403fd721f664db9a5bbde06301a11bd9bdb42426 /gtk-gui.c
parent3ac1cdf9e410fc65463253a2763e305cdb444cdc (diff)
downloadsubsurface-b1dc9bf26d8538001a120c8c1635a12129f13c8c.tar.gz
Make the 'Add waypoint' button work in the Input Plan dialog
Just after pushing out the last set of changes I had one more idea what I could try. And of course that was it. Don't queue up a redraw. Simply run gtk_widget_show_all on the dialog! That does the trick. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r--gtk-gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk-gui.c b/gtk-gui.c
index 00ba8f90c..c8cfdcaf7 100644
--- a/gtk-gui.c
+++ b/gtk-gui.c
@@ -1527,7 +1527,7 @@ static void add_waypoint_cb(GtkButton *button, gpointer _data)
nr_waypoints++;
ovbox = gtk_widget_get_parent(GTK_WIDGET(button));
dialog = gtk_widget_get_parent(ovbox);
- gtk_widget_queue_draw(dialog);
+ gtk_widget_show_all(dialog);
} else {
// some error
}