summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-03-16 18:13:51 +0300
committermonsta <[email protected]>2016-03-17 11:37:38 +0300
commitce7cc9580809d4017c74b0128f7e82f94eb173d9 (patch)
treedc710fac81fad4627fceff62a2c3c834e96a7e9b /libcaja-private
parentc74212b4630767b3b11b41cb26a8df20090096f4 (diff)
downloadcaja-ce7cc9580809d4017c74b0128f7e82f94eb173d9.tar.bz2
caja-ce7cc9580809d4017c74b0128f7e82f94eb173d9.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')
-rw-r--r--libcaja-private/caja-icon-container.c4
1 files changed, 0 insertions, 4 deletions
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);