diff options
author | monsta <[email protected]> | 2016-03-16 18:13:51 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-03-17 11:37:38 +0300 |
commit | ce7cc9580809d4017c74b0128f7e82f94eb173d9 (patch) | |
tree | dc710fac81fad4627fceff62a2c3c834e96a7e9b /libcaja-private/caja-icon-container.c | |
parent | c74212b4630767b3b11b41cb26a8df20090096f4 (diff) | |
download | caja-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/caja-icon-container.c')
-rw-r--r-- | libcaja-private/caja-icon-container.c | 4 |
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); |