[gimp] plug-ins: kill GtkAlignment in cml-explorer
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: kill GtkAlignment in cml-explorer
- Date: Sat, 20 Oct 2018 11:56:24 +0000 (UTC)
commit dac5be6108b744f34293fd725920bf2f58501c8f
Author: Michael Natterer <mitch gimp org>
Date: Sat Oct 20 13:55:42 2018 +0200
plug-ins: kill GtkAlignment in cml-explorer
plug-ins/common/cml-explorer.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/common/cml-explorer.c b/plug-ins/common/cml-explorer.c
index 4af09658f2..8d57ec4372 100644
--- a/plug-ins/common/cml-explorer.c
+++ b/plug-ins/common/cml-explorer.c
@@ -1210,13 +1210,10 @@ CML_explorer_dialog (void)
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
gtk_widget_show (vbox);
- abox = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
- gtk_box_pack_start (GTK_BOX (vbox), abox, FALSE, FALSE, 0);
- gtk_widget_show (abox);
-
frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_IN);
- gtk_container_add (GTK_CONTAINER (abox), frame);
+ gtk_widget_set_halign (frame, GTK_ALIGN_CENTER);
+ gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
preview = gimp_preview_area_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]