[gtk+] demos: Simplify popovers demo



commit 3b98a2d93596aac73efa91a04042b66fda8ec823
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Jun 21 12:30:29 2016 +0200

    demos: Simplify popovers demo
    
    Don't do much unconventional stuff here. This is a demo, not a test.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767851

 demos/gtk-demo/popover.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/demos/gtk-demo/popover.c b/demos/gtk-demo/popover.c
index 2b2ffda..44afdf2 100644
--- a/demos/gtk-demo/popover.c
+++ b/demos/gtk-demo/popover.c
@@ -51,10 +51,6 @@ create_complex_popover (GtkWidget       *parent,
   popover = create_popover (parent, content, GTK_POS_BOTTOM);
   g_object_unref (content);
 
-  gtk_widget_set_margin_start (popover, 10);
-  gtk_widget_set_margin_end (popover, 10);
-  gtk_widget_set_margin_bottom (popover, 10);
-
   return popover;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]