[gimp] app: Make GimpThumbBox pretty again
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: Make GimpThumbBox pretty again
- Date: Wed, 27 Jun 2018 17:00:51 +0000 (UTC)
commit 06282f28ed4f19058d2200c617712fd3d9df73af
Author: Timm Bäder <mail baedert org>
Date: Wed Jun 27 18:58:37 2018 +0200
app: Make GimpThumbBox pretty again
calling queue_resize during size-allocate is a no-go.
app/widgets/gimpthumbbox.c | 16 ----------------
1 file changed, 16 deletions(-)
---
diff --git a/app/widgets/gimpthumbbox.c b/app/widgets/gimpthumbbox.c
index c6896c56ec..822c6ecffa 100644
--- a/app/widgets/gimpthumbbox.c
+++ b/app/widgets/gimpthumbbox.c
@@ -497,28 +497,12 @@ gimp_thumb_box_thumbnail_clicked (GtkWidget *widget,
TRUE : FALSE);
}
-static void
-this_is_ugly (GtkWidget *widget,
- GtkAllocation *allocation,
- gpointer data)
-{
- gtk_widget_queue_resize (widget);
-
- g_signal_handlers_disconnect_by_func (widget,
- this_is_ugly,
- data);
-}
-
static void
gimp_thumb_box_imagefile_info_changed (GimpImagefile *imagefile,
GimpThumbBox *box)
{
gtk_label_set_text (GTK_LABEL (box->info),
gimp_imagefile_get_desc_string (imagefile));
-
- g_signal_connect_after (box->info, "size-allocate",
- G_CALLBACK (this_is_ugly),
- "this too");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]