summaryrefslogtreecommitdiff
path: root/src/gtk_fb.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2021-02-17 10:48:12 -0800
committerVito Caputo <vcaputo@pengaru.com>2021-02-17 10:48:12 -0800
commitd9b17a24fbd255c1a09e110775e0f9b8e5e6c0a7 (patch)
tree431822cb90d3ce11a5373641eac15be8b8eb424b /src/gtk_fb.c
parentff7f25d2e5b9124480799ea7affd4fd4ecb039e6 (diff)
gtk_fb: no need to destroy c->image
Destroying c->window, the container of c->image, will already do that.
Diffstat (limited to 'src/gtk_fb.c')
-rw-r--r--src/gtk_fb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gtk_fb.c b/src/gtk_fb.c
index 137e560..cba7f65 100644
--- a/src/gtk_fb.c
+++ b/src/gtk_fb.c
@@ -131,7 +131,6 @@ static void gtk_fb_release(fb_t *fb, void *context)
gtk_widget_remove_tick_callback(c->image, c->tick_callback);
gtk_widget_destroy(c->window);
- gtk_widget_destroy(c->image);
}
© All Rights Reserved