Commit Graph

16050 Commits

Author SHA1 Message Date
Tim Janik
4e1a46ebc3 Seal GtkTreeSelection.
* gtk/gtktreeselection.h: Seal all member fields.

svn path=/trunk/; revision=20528
2008-06-20 11:01:24 +00:00
Tim Janik
1ba7f437bc Add gtk_tree_selection_get_select_function().
* gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
function.
* gtk/gtk.symbols: add new function.

svn path=/trunk/; revision=20527
2008-06-20 11:01:18 +00:00
Tim Janik
2ff111071d Seal GtkScrolledWindow.
* gtk/gtkscrolledwindow.h: Seal all object member fields.

svn path=/trunk/; revision=20526
2008-06-20 11:01:13 +00:00
Tim Janik
2bb1cc877d Seal GtkCellRenderer.
* gtk/gtkcellrenderer.h: seal all member fields.  All member fields are
already accessible via GObject properties.

svn path=/trunk/; revision=20525
2008-06-20 11:01:07 +00:00
Tim Janik
d0852ad65c Add "editing" GObject property to GtkCellRenderer.
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
(gtk_cell_renderer_get_property),
(gtk_cell_renderer_set_property): add the property and hook
it up.

svn path=/trunk/; revision=20524
2008-06-20 11:01:02 +00:00
Tim Janik
a734a9bca1 Seal GtkCellRendererText.
* gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
marked as private).

svn path=/trunk/; revision=20523
2008-06-20 11:00:57 +00:00
Tim Janik
50659b66dc Seal GtkCellRendererCombo.
* gtk/gtkcellrenderercombo.h: seal all member fields.  The members fields
that were not marked as private are already accessible via GObject properties.

svn path=/trunk/; revision=20522
2008-06-20 11:00:52 +00:00
Tim Janik
30c563a5ce Seal GtkCellRendererAccel.
* gtk/gtkcellrendereraccel.h: seal all member fields that were already
marked as private.

svn path=/trunk/; revision=20521
2008-06-20 11:00:46 +00:00
Tim Janik
c6bcd622f5 Seal GtkTreeView
* gtk/gtktreeview.h: seal private pointer.

svn path=/trunk/; revision=20520
2008-06-20 11:00:41 +00:00
Tim Janik
0e5b2302aa Seal GtkTreeModelFilter
* gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
pointer.

svn path=/trunk/; revision=20519
2008-06-20 11:00:35 +00:00
Tim Janik
78218ceccf Seal GtkTreeModelSort
* gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
all public member fields.

svn path=/trunk/; revision=20518
2008-06-20 11:00:30 +00:00
Tim Janik
33ef105c6a Seal GtkTreeStore
* gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
public member fields.

svn path=/trunk/; revision=20517
2008-06-20 11:00:25 +00:00
Tim Janik
b4dafcbe6a Seal GtkListStore
* gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
public member fields.

svn path=/trunk/; revision=20516
2008-06-20 11:00:20 +00:00
Tim Janik
b2b2e6431e add accessor.
* gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.

svn path=/trunk/; revision=20515
2008-06-20 11:00:12 +00:00
Tim Janik
2a10964008 seal members.
* gtk/gtkcontainer.h: seal members.

svn path=/trunk/; revision=20514
2008-06-20 11:00:06 +00:00
Tim Janik
36112dccd4 seal members.
* gtk/gtkmisc.h: seal members.

svn path=/trunk/; revision=20513
2008-06-20 10:59:58 +00:00
Tim Janik
6e1e3c5942 *gtk/gtkfixed.h: seal members.
svn path=/trunk/; revision=20512
2008-06-20 10:59:53 +00:00
Tim Janik
2c8371202a seal all members.
* gtk/gtkcellrendererpixbuf.h: seal all members.

svn path=/trunk/; revision=20511
2008-06-20 10:59:48 +00:00
Tim Janik
03a27c861d seal private member.
* gtk/gtkcellrendererprogress.h: seal private member.

svn path=/trunk/; revision=20510
2008-06-20 10:59:43 +00:00
Tim Janik
cf839d82c8 seal all members.
* gtk/gtkcellrenderertoggle.h: seal all members.

svn path=/trunk/; revision=20509
2008-06-20 10:59:38 +00:00
Tim Janik
d8bd3aecc8 Seal the private member.
* gtk/gtkfilechooserwidget.h: Seal the private member.

svn path=/trunk/; revision=20508
2008-06-20 10:59:32 +00:00
Tim Janik
2d63684418 gtk/gtkfilechooserdialog.h: seal the private member.
svn path=/trunk/; revision=20507
2008-06-20 10:59:27 +00:00
Tim Janik
84086c1e07 Seal private member.
* gtk/gtkentrycompletion.h: Seal private member.

svn path=/trunk/; revision=20506
2008-06-20 10:59:22 +00:00
Tim Janik
7b287e64bc Seal the private member.
* gtk/gtkcellview.h: Seal the private member.

svn path=/trunk/; revision=20505
2008-06-20 10:59:17 +00:00
Tim Janik
5d0c759d3d seal private member.
* gtk/gtkcolorbutton.h: seal private member.

svn path=/trunk/; revision=20504
2008-06-20 10:59:11 +00:00
Tim Janik
fd807d45be seal public struct members.
* gtk/gtkcheckmenuitem.h: seal public struct members.

svn path=/trunk/; revision=20503
2008-06-20 10:59:06 +00:00
Tim Janik
4c323f5716 seal public struct members.
* gtk/gtkcalendar.h: seal public struct members.

svn path=/trunk/; revision=20502
2008-06-20 10:59:01 +00:00
Tim Janik
fa1e2eb009 Also seal variables marked as private.
* gtk/gtkdialog.h: Also seal variables marked as private.

svn path=/trunk/; revision=20501
2008-06-20 10:58:55 +00:00
Tim Janik
d0b16c1151 seal private member.
* gtk/gtkimagemenuitem.h: seal private member.

svn path=/trunk/; revision=20500
2008-06-20 10:58:50 +00:00
Tim Janik
db9b3c138e seal private member.
* gtk/gtkiconfactory.h: seal private member.

svn path=/trunk/; revision=20499
2008-06-20 10:58:45 +00:00
Tim Janik
868135e879 Seal GtkActionGroup
* gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
  member and clean up .c file to reflect this.

svn path=/trunk/; revision=20498
2008-06-20 10:58:40 +00:00
Tim Janik
9f58854b06 Seal GtkAccelLabel
gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields

svn path=/trunk/; revision=20497
2008-06-20 10:58:34 +00:00
Tim Janik
1ebf1af100 seal instance struct member.
* gtk/gtkdrawingarea.h: seal instance struct member.

svn path=/trunk/; revision=20496
2008-06-20 10:58:29 +00:00
Tim Janik
9cc14da90c Seal GtkScaleButton public fields
* gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20495
2008-06-20 10:58:23 +00:00
Tim Janik
133ebd1c47 Seal GtkScale public fields
* gtk/gtkscale.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20494
2008-06-20 10:58:18 +00:00
Tim Janik
9fd6a33aed Seal GtkProgressBar public fields
svn path=/trunk/; revision=20493
2008-06-20 10:58:13 +00:00
Tim Janik
171adb0a1d Seal GtkFrame public vars
svn path=/trunk/; revision=20492
2008-06-20 10:58:07 +00:00
Tim Janik
81acd2e7be Deprecate direct access to public variables in GtkButton.
* gtk/gtkbutton.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20491
2008-06-20 10:58:02 +00:00
Tim Janik
6c365eba73 Deprecate direct access to public variables in GtkButtonBox.
* gtk/gtkbbox.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20490
2008-06-20 10:57:57 +00:00
Tim Janik
fe53ab75bb Deprecate direct access to public variables in GtkBox.
* gtk/gtkbox.h: Deprecate direct access through GSEAL().

svn path=/trunk/; revision=20489
2008-06-20 10:57:52 +00:00
Tim Janik
acea4faf74 Seal GtkMessageDialog public vars
svn path=/trunk/; revision=20488
2008-06-20 10:57:46 +00:00
Tim Janik
b3c47333f3 Seal GtkDialog public vars
svn path=/trunk/; revision=20487
2008-06-20 10:57:41 +00:00
Tim Janik
b15ca51c35 Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
svn path=/trunk/; revision=20486
2008-06-20 10:57:35 +00:00
Tim Janik
112f03938c Seal GtkAssistant public fields
svn path=/trunk/; revision=20485
2008-06-20 10:57:29 +00:00
Tim Janik
12b99bbd64 Seal GtkNotebook public fields
svn path=/trunk/; revision=20484
2008-06-20 10:57:23 +00:00
Tim Janik
bde0b4458f Deprecate direct access to child in GtkBin.
* gtk/gtkbin.h: Deprecate direct access to child by GSEAL.

svn path=/trunk/; revision=20483
2008-06-20 10:57:18 +00:00
Tim Janik
2436a762e4 Sealed GtkAccelGroup and added
* gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
  modifier_mask, acceleratables, n_accels and priv_accels. Added seal
  macro for public struct members which should be private.

svn path=/trunk/; revision=20482
2008-06-20 10:57:08 +00:00
Tim Janik
2aa3a83bd4 Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
* gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.

svn path=/trunk/; revision=20481
2008-06-20 10:57:01 +00:00
Tim Janik
e8cb6e4a8c Deprecate arrow_type and shadow_type direct access in GtkArrow.
* gtk/gtkarrow.h: Deprecate public object fields by GSEAL.

svn path=/trunk/; revision=20480
2008-06-20 10:56:55 +00:00
Tim Janik
b345e36f97 Added GSEAL to GtkAlignment.
* gtk/gtkalignment.h: Seal the object data with GSEAL.

svn path=/trunk/; revision=20479
2008-06-20 10:56:50 +00:00