From 91d5f25b4515e2af7cf5ad1c05db8ad2e57b46ed Mon Sep 17 00:00:00 2001 From: TotalCaesar659 Date: Thu, 28 Sep 2017 23:42:20 +0300 Subject: Fixed compilation warning when building on GTK3 --- shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/shell.c b/shell/shell.c index 8b0834df..8688f9ac 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -1666,7 +1666,7 @@ static void shell_summary_add_item(ShellSummary *summary, #if GTK_CHECK_VERSION(3, 0, 0) GtkWidget *frame_box; frame_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); - gtk_widget_set_margin_start(GTK_BOX(frame_box), 48); + gtk_widget_set_margin_start(GTK_WIDGET(frame_box), 48); gtk_box_pack_start(GTK_BOX(frame_box), content, FALSE, FALSE, 0); gtk_container_add(GTK_CONTAINER(frame), frame_box); #else -- cgit v1.2.3