Commit Graph

16143 Commits

Author SHA1 Message Date
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
Tim Janik
a72fdab93f Introduce GSEAL() macro.
* configure.in: define GSEAL() when generating gdkconfig.h

svn path=/trunk/; revision=20478
2008-06-20 10:48:22 +00:00
Michael Natterer
2ba736d775 Bug 538395 – gtk_combo_box_append_text() on non-compliant model
2008-06-20  Michael Natterer  <mitch@imendio.com>

	Bug 538395 – gtk_combo_box_append_text() on non-compliant model
	segfaults

	* gtk/gtkcombobox.c (gtk_combo_box_append_text)
	(gtk_combo_box_insert_text)
	(gtk_combo_box_prepend_text)
	(gtk_combo_box_remove_text)
	(gtk_combo_box_real_get_active_text): apply patch from Christian
	Dywan which adds the needed g_return_if_fail() to prevent the
	crashes.


svn path=/trunk/; revision=20477
2008-06-20 10:00:40 +00:00
Cody Russell
778be3e8e9 Rename gdk_window_new -> _gdk_window_new and gdk_window_reparent ->
2008-06-20  Cody Russell  <cody@jhu.edu>

        * gdk/directfb/gdkwindow-directfb.c:

        Rename gdk_window_new -> _gdk_window_new and
        gdk_window_reparent -> _gdk_window_reparent to fix
        the build.  (#539095, Sebastien Bacher)


svn path=/trunk/; revision=20476
2008-06-20 05:12:24 +00:00
Johan Dahlin
9276cf5a06 Remove svn:executable property
svn path=/trunk/; revision=20475
2008-06-19 20:40:06 +00:00
Johan Dahlin
a4617da3bd Remove executable property
svn path=/trunk/; revision=20474
2008-06-19 20:36:01 +00:00
Johan Dahlin
234dc3726f remove an unused variable and cast accel_path to gchar, just like in
2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

    * gtk/gtkmenuitem.c: remove an unused variable and cast
    accel_path to gchar, just like in gtkmenu.c


svn path=/trunk/; revision=20473
2008-06-19 19:09:50 +00:00
Matthias Clasen
e1c47e2ee0 Use GIO for this.
* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
        for this.

svn path=/trunk/; revision=20472
2008-06-19 19:04:22 +00:00