From 921690d9c88626790f7820cfce4890a8e9b4fb0b Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 17 Mar 2016 11:31:37 +0100 Subject: icon container: don't set label colors right after widget realize the background might be not yet set at this point, and when it will be set, the label colors will be properly set on a signal anyway. so let's not do the same work twice. --- libcaja-private/caja-icon-container.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libcaja-private/caja-icon-container.c') diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index e33a9c75..07265ed4 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -4566,8 +4566,6 @@ realize (GtkWidget *widget) /* Set up DnD. */ caja_icon_dnd_init (container); - setup_label_gcs (container); - hadj = gtk_scrollable_get_hadjustment (GTK_SCROLLABLE (widget)); g_signal_connect (hadj, "value_changed", G_CALLBACK (handle_hadjustment_changed), widget); -- cgit v1.2.1