After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 651720 - Add gtk_widget_set_margin()
Add gtk_widget_set_margin()
Status: RESOLVED DUPLICATE of bug 629777
Product: gtk+
Classification: Platform
Component: Widget: Other
3.1.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-06-02 16:53 UTC by Javier Jardón (IRC: jjardon)
Modified: 2011-06-07 13:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add gtk_widget_set_margin() (3.57 KB, patch)
2011-06-02 16:55 UTC, Javier Jardón (IRC: jjardon)
none Details | Review
Add gtk_widget_get_margin() (3.09 KB, patch)
2011-06-03 13:21 UTC, Javier Jardón (IRC: jjardon)
none Details | Review

Description Javier Jardón (IRC: jjardon) 2011-06-02 16:53:56 UTC
We already have a GtkWidget:margin property, so makes sense to have a

gtk_widget_set_margin(widget, margin) 

api instead use 

g_object_set (widget, "margin",1, NULL)
Comment 1 Javier Jardón (IRC: jjardon) 2011-06-02 16:55:14 UTC
Created attachment 189094 [details] [review]
Add gtk_widget_set_margin()
Comment 2 Javier Jardón (IRC: jjardon) 2011-06-03 13:21:26 UTC
Created attachment 189153 [details] [review]
Add gtk_widget_get_margin()
Comment 3 Matthias Clasen 2011-06-03 13:25:32 UTC

*** This bug has been marked as a duplicate of bug 629777 ***