Skip to content

Commit 9eb2cd3

Browse files
zisoftTurboGit
authored andcommitted
fix signal handler for resize dialog
1 parent 4e36350 commit 9eb2cd3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/gui/gtk.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4530,7 +4530,7 @@ void dt_gui_commit_on_focus_loss(GtkCellRenderer *renderer, GtkCellEditable **ac
45304530
g_signal_connect(renderer, "editing-started", G_CALLBACK(_commit_on_focus_loss_callback), (gpointer)active_editable);
45314531
}
45324532

4533-
static void _resize_dialog(GtkWidget *widget, GdkEvent *event, const char *conf)
4533+
static gboolean _resize_dialog(GtkWidget *widget, GdkEvent *event, const char *conf)
45344534
{
45354535
char buf[256];
45364536
GtkAllocation allocation;
@@ -4540,6 +4540,7 @@ static void _resize_dialog(GtkWidget *widget, GdkEvent *event, const char *conf)
45404540
dt_conf_set_int(dt_buf_printf(buf, "ui_last/%s_dialog_height", conf), allocation.height);
45414541
dt_conf_set_int(dt_buf_printf(buf, "ui_last/%s_dialog_x", conf), allocation.x);
45424542
dt_conf_set_int(dt_buf_printf(buf, "ui_last/%s_dialog_y", conf), allocation.y);
4543+
return FALSE;
45434544
}
45444545

45454546
void dt_gui_dialog_restore_size(GtkDialog *dialog, const char *conf)

0 commit comments

Comments
 (0)