From ce7cc9580809d4017c74b0128f7e82f94eb173d9 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 16 Mar 2016 18:13:51 +0300 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 | 4 ---- 1 file changed, 4 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 fd0a4dbf..914cfb5b 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -4663,10 +4663,6 @@ realize (GtkWidget *widget) /* Set up DnD. */ caja_icon_dnd_init (container); -#if !GTK_CHECK_VERSION(3, 0, 0) - setup_label_gcs (container); -#endif - hadj = gtk_scrollable_get_hadjustment (GTK_SCROLLABLE (widget)); g_signal_connect (hadj, "value_changed", G_CALLBACK (handle_hadjustment_changed), widget); -- cgit v1.2.1