diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-02-17 10:48:12 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-02-17 10:48:12 -0800 |
commit | d9b17a24fbd255c1a09e110775e0f9b8e5e6c0a7 (patch) | |
tree | 431822cb90d3ce11a5373641eac15be8b8eb424b /src/gtk_fb.c | |
parent | ff7f25d2e5b9124480799ea7affd4fd4ecb039e6 (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.c | 1 |
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); } |