Skip to content

Commit 4e9aab8

Browse files
Don't re-clear *gui struct
Don't clear *gui struct again - it was calloced, a few things have been set up already and we want to keep that.
1 parent dc384ef commit 4e9aab8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/gui/gtk.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,9 +1278,6 @@ int dt_gui_theme_init(dt_gui_gtk_t *gui)
12781278

12791279
int dt_gui_gtk_init(dt_gui_gtk_t *gui)
12801280
{
1281-
/* lets zero mem */
1282-
memset(gui, 0, sizeof(dt_gui_gtk_t));
1283-
12841281
dt_pthread_mutex_init(&gui->mutex, NULL);
12851282

12861283
// force gtk3 to use normal scroll bars instead of the popup

0 commit comments

Comments
 (0)