summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-03-17 11:31:37 +0100
committerraveit65 <[email protected]>2016-03-17 11:31:37 +0100
commit921690d9c88626790f7820cfce4890a8e9b4fb0b (patch)
tree99474e2bfc0608aa723a99921088979a72b125ab /libcaja-private/caja-icon-container.c
parent74f9b0c082b6b6cba55b44f424820a99c8e4fde6 (diff)
downloadcaja-921690d9c88626790f7820cfce4890a8e9b4fb0b.tar.bz2
caja-921690d9c88626790f7820cfce4890a8e9b4fb0b.tar.xz
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.
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r--libcaja-private/caja-icon-container.c2
1 files changed, 0 insertions, 2 deletions
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);