Commit Graph

10654 Commits

Author SHA1 Message Date
Javier Jardón
e6db32de44 gtkspinner: Remove GET_PRIVATE macro 2010-07-13 19:40:50 +02:00
Javier Jardón
cbbffa18f8 Add _gtk_spin_button_get_panel private function
It's needed in gtktestutils.c
2010-07-13 19:40:50 +02:00
Javier Jardón
57d870ac5b gtkspinbutton: move public members to private structure 2010-07-13 19:40:50 +02:00
Javier Jardón
d5c3fb5231 gtksizegroup: Move public members to private structure 2010-07-13 19:40:50 +02:00
Javier Jardón
22d4515d9a gtkseparatortoolitem: unseal private pointer 2010-07-13 19:40:50 +02:00
Javier Jardón
675745e1ca Use accessor functions to access GtkScrolledWindow 2010-07-13 19:40:50 +02:00
Javier Jardón
65acc3641a GtkScale: move public members to private structure 2010-07-13 19:40:50 +02:00
Javier Jardón
de9c5f8d3d Use accessor functions to access GtkScale 2010-07-13 19:40:50 +02:00
Javier Jardón
9ddda9c844 GtkScaleButton: Move public members to private structure 2010-07-13 19:40:50 +02:00
Javier Jardón
bcc8494899 Use accessor functions to access GtkScaleButton 2010-07-13 19:40:49 +02:00
Javier Jardón
6fb0e3a09f GtkRuler: move public member to private structure 2010-07-13 19:40:49 +02:00
Javier Jardón
f17a345998 gtkrecentmanager: unseal private pointer 2010-07-13 19:40:49 +02:00
Javier Jardón
c1da2a9204 gtkrecentchooserwidget: unseal private pointer 2010-07-13 19:40:49 +02:00
Javier Jardón
3dfaf72745 gtkrecentchoosermenu: unseal private pointer 2010-07-13 19:40:49 +02:00
Javier Jardón
37a499cea6 gtkrecentchooserdialog: unseal private pointer 2010-07-13 19:40:49 +02:00
Javier Jardón
e6bd773fda GtkRecentAction: move public members to private structure 2010-07-13 19:40:49 +02:00
Javier Jardón
133502d798 GtkRadioMenuItem: Move public members to private structure 2010-07-13 19:40:49 +02:00
Javier Jardón
ec4c06105d GtkRadioButton: Move public members to private structure 2010-07-13 19:40:49 +02:00
Javier Jardón
6ce52cab3c GtkRadioAction: unseal private pointer 2010-07-13 19:40:49 +02:00
Javier Jardón
0ddeccefe9 GtkProgressBar: Move public members to private structure 2010-07-13 19:40:49 +02:00
Javier Jardón
e3a4dfe0e1 gtkprinter: unseal private pointer 2010-07-13 19:40:49 +02:00
Javier Jardón
168fbac7f6 gtkprintbackend: Use private pointer instead GET_PRIV() macro 2010-07-13 19:40:49 +02:00
Javier Jardón
8c041cde30 GtkPaned: move public members to private structure 2010-07-13 19:40:49 +02:00
Javier Jardón
28cf61a2ca gtkpagesetupunixdialog: unseal private pointer 2010-07-13 19:40:49 +02:00
Javier Jardón
1ca6edf6bf GtkMisc: move public members to private structure 2010-07-13 19:40:49 +02:00
Javier Jardón
978a031b76 Use accessor functions to access GtkMisc 2010-07-13 19:40:49 +02:00
Javier Jardón
e2b8112fd8 GtkMessageDialog: move public members to private structure 2010-07-13 19:40:49 +02:00
Javier Jardón
ecce43bcd1 GtkMenuToolButton: unseal private pointer 2010-07-13 19:40:49 +02:00
Javier Jardón
4d7ecabaf0 GtkMenuBar: Use private pointer instead GET_PRIV() macro all the time 2010-07-13 19:40:48 +02:00
Javier Jardón
a3b039d317 GtkListStore: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
59942f91cb GtkLinkButton: unseal private pointer 2010-07-13 19:40:48 +02:00
Javier Jardón
801708b9e6 GtkLayout: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
bf9875860b GtkLabel: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
511560ba88 GtkInvisible: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
d4a59142ad Use accessor funtions to acces GtkInvisible 2010-07-13 19:40:48 +02:00
Javier Jardón
75686d04a0 GtkInfoBar: use private pointer instead GET_PRIV() macro 2010-07-13 19:40:48 +02:00
Javier Jardón
e2a662b93d GtkIMMulticontext: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
47e824a5e4 GtkImageMenuItem: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
ad3b5941ab GtkImageMenuItem: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
86f0bd5cc9 GtkImage: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
754dc6491b GtkIconView: Unseal private pointer 2010-07-13 19:40:48 +02:00
Javier Jardón
f66ebd8e59 GtkIconTheme: unseal private pointer 2010-07-13 19:40:48 +02:00
Javier Jardón
e1d182ce5c GtkIconFactory: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
c0228f609c GtkHSV: unseal private pointer 2010-07-13 19:40:48 +02:00
Javier Jardón
997c7b96a8 gtkhandlebox: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
817d1f93cd gtkframe: move public members to private structure 2010-07-13 19:40:48 +02:00
Javier Jardón
6fe5203c0a GtkFontSelection: move public members to private structure 2010-07-13 19:40:47 +02:00
Javier Jardón
324ab58710 GtkFontSelectionDialog: move public members to private structure 2010-07-13 19:40:47 +02:00
Javier Jardón
558a02c730 Use accessor funtions to access GtkFontSelectionDialog 2010-07-13 19:40:47 +02:00
Javier Jardón
f86456ccb5 gtkfontbutton: unseal private pointer 2010-07-13 19:40:47 +02:00
Javier Jardón
0991115ada gtkfixed: Move public members to private structure 2010-07-13 19:40:47 +02:00
Javier Jardón
58030409d8 gtkfilechooserwidget: Unseal private pointer 2010-07-13 19:40:47 +02:00
Javier Jardón
9b63c322ee gtkfilechooserdialog: Unseal private pointer 2010-07-13 19:40:47 +02:00
Javier Jardón
01bdc682fd gtkfilechooserbutton: unseal private pointer 2010-07-13 19:40:47 +02:00
Javier Jardón
d4813408b0 gtkentrycompletion: Do not use GET_PRIV() macro all the time
Also, unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
a8014e6fec gtkdialog: Move public members to private structure 2010-07-13 19:40:47 +02:00
Javier Jardón
7f2cc85db9 Use accessor functions to access GtkDialog 2010-07-13 19:40:47 +02:00
Javier Jardón
80df961edb gtkbin: Move public members to private structure 2010-07-13 19:40:47 +02:00
Javier Jardón
63d3b197c2 Add _gtk_bin_set_widget() internal function 2010-07-13 19:40:47 +02:00
Javier Jardón
4427760bcc Use GtkBin accessors 2010-07-13 19:40:47 +02:00
Javier Jardón
2de1f3f88c gtkcontainer: Move public members to private structure 2010-07-13 19:40:46 +02:00
Javier Jardón
63f8313015 gtkcontainer: Add _gtk_container_get_reallocate_redraws internal accessor
Only used in gtkwidget
2010-07-13 19:40:46 +02:00
Javier Jardón
dfb24fd56e gtkcontainer: Add _gtk_container_*_need_resize internal accessors
gtkoffscreenwindow and gtkwindow need access to need_resize var
2010-07-13 19:40:46 +02:00
Javier Jardón
3a10216dd0 Use accessor functions to acces GtkContainer 2010-07-13 19:40:46 +02:00
Javier Jardón
009acc263e gtkcustompaperunixdialog: unseal private pointer 2010-07-13 19:40:46 +02:00
Javier Jardón
5fd442eda2 gtkcomboboxentry: unseal private pointer 2010-07-13 19:40:46 +02:00
Javier Jardón
56cc11a416 gtkcombobox: unseal private pointer 2010-07-13 19:40:46 +02:00
Javier Jardón
ebf6ce274a gtkcolorseldialog: Move public members to private structure 2010-07-13 19:40:46 +02:00
Javier Jardón
9663801be7 Use accessor functions to access GtkColorSelectionDialog 2010-07-13 19:40:46 +02:00
Javier Jardón
56eafbaad8 gtkcolorsel: unseal private pointer 2010-07-13 19:40:46 +02:00
Javier Jardón
ad45f1ce9d gtkcolorbutton: unseal private pointer 2010-07-13 19:40:46 +02:00
Javier Jardón
06dfffa132 gtkcheckmenuitem: Move public members to private structure 2010-07-13 19:40:46 +02:00
Javier Jardón
94fd7a3502 Use accessor functions to access GtkCheckMenuItem 2010-07-13 19:40:46 +02:00
Javier Jardón
72f515a0f3 gtkcellrendererpixbuf: Move public members to private structure 2010-07-13 19:40:46 +02:00
Javier Jardón
637c9f16e3 gtkcellview: unseal private pointer 2010-07-13 19:40:46 +02:00
Javier Jardón
3c90ecf27b gtkcellrenderertoggle: Move public members to private structure 2010-07-13 19:40:46 +02:00
Javier Jardón
7fdb991b99 gtkcellrenderertext: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
6736c085b3 Use accessor functions to access GtkCellRendererText 2010-07-13 19:40:45 +02:00
Javier Jardón
b71d539fd0 gtkcellrendererspinner: Remove GET_PRIV() macro
This macro shouldn't be used in any function, but ->priv pointer
instead.
2010-07-13 19:40:45 +02:00
Javier Jardón
c2b079ca05 gtkcellrendererspin: Use private pointer instead GET_PRIV macro 2010-07-13 19:40:45 +02:00
Javier Jardón
ee1d9df94c gtkcellrendererprogress: unseal private pointer 2010-07-13 19:40:45 +02:00
Javier Jardón
c0b0b84c6e gtkcellrenderercombo: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
5e815bfee2 gtkcellrenderer: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
db584abef3 Use accessor functions to access GtkCellRenderer 2010-07-13 19:40:45 +02:00
Javier Jardón
932568d1ed gtkcellrendereraccel: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
4d40f88310 gtkbuilder: unseal private pointer 2010-07-13 19:40:45 +02:00
Javier Jardón
0677bb2785 gtkbox: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
a46c1eba64 Use accessor functions to access GtkBox 2010-07-13 19:40:45 +02:00
Javier Jardón
abe267641a gtkbbox: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
123717510f gtkassistant: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
472753330d gtkaccessible: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
5ee19bdafe Use accessor functions to access GtkAccesible variables 2010-07-13 19:40:45 +02:00
Javier Jardón
a6e0fb92c6 gtkaspectframe: Move public members to private structure 2010-07-13 19:40:45 +02:00
Javier Jardón
3862bf3208 gtkarrow: Move public members to private structure 2010-07-13 19:40:44 +02:00
Javier Jardón
fa740ae012 gtkactiongroup: Unseal private pointer
Also, use ->priv instead GET_PRIV() macro all the time
2010-07-13 19:40:44 +02:00
Javier Jardón
8ad3afce95 gtkaction: unseal private pointer 2010-07-13 19:40:44 +02:00
Christian Dywan
335549b46a Move definition of GtkNotebookPage out of the header 2010-07-13 18:47:45 +02:00
Ignacio Casal Quinteiro
dba6592601 Add annotations for GtkAccelMap 2010-07-13 18:37:41 +02:00
Javier Jardón
33960b737d GtkNotebook: Move public members to private structure 2010-07-13 18:16:06 +02:00
Christian Dywan
828f5cbe2e Change GtkNotebookPage in switch-page into GtkWidget 2010-07-13 17:05:22 +02:00
Christian Dywan
04c54efe5c Deprecate GtkNotebookPage as used in switch-page
Fixes: 618327
2010-07-13 16:49:53 +02:00
Ignacio Casal Quinteiro
d219adfa5a Move sealed attributes to private struct. 2010-07-12 21:12:46 +02:00
Tadej Borovšak
75e75cd305 Migrate GtkActionGroup API docs 2010-07-12 19:45:32 +02:00
Javier Jardón
eaab96c066 Use GSlice for GtkRequisition
Also add gtk_requisition_new to avoid memory allocator confusions when
using GtkRequisitions.

Based on a Christian Persch patch.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=461618
2010-07-10 06:13:45 +02:00
Matthias Clasen
bcbb976d91 Respect GtkEntry::state-hint when drawing spinbutton features
As proposed in bug 589904 by Thomas Wood.
2010-07-09 22:23:25 -04:00
Matthias Clasen
813bee6f0a Try to fix !srcdir build wrt to introspection
This requires a recent gobject-introspection, so bump the
dependency to 0.9.0. Should fix bug 623520
2010-07-09 21:01:40 -04:00
Javier Jardón
0a07e9733b gtk/: fully remove gtkalias hacks
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:51:26 +02:00
Javier Jardón
7cabad6b77 Use -Bsymbolic-functions, drop g*alias PLT hackery
This is a minimal patch-out of the galias functionality.

Based on a Glib pach by Ryan Lortie

https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
John (J5) Palmieri
b74ee87b17 annotation (transfer-none) fix that somehow got dropped from last patch
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
  to avoid double frees
2010-07-08 15:26:55 -04:00
John (J5) Palmieri
b5f878dec8 fix some tree model annotations
* gtk_tree_model_iter_next - 'inout' is poorly defined and causes bugs so
  revert back to the default 'in' annotation
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
  to avoid double frees
2010-07-08 15:06:55 -04:00
Emmanuele Bassi
15646b6e74 docs: Document the GtkApplication::quit signal behavior
And add Since: annotations to the GtkApplication signals.
2010-07-08 14:12:27 +01:00
Ryan Lortie
424842e3a9 GtkApplication: use new GVariant bytestring API 2010-07-07 16:37:55 -04:00
Philip Withnall
0b51abbfdf Add (out) annotations to GtkTreeIter parameters 2010-07-07 18:20:37 +02:00
Javier Jardón
675b05f91d [docs] GtkCellEditable: Move documentation to inline comments
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617392

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-07-06 22:46:40 +02:00
Javier Jardón
dd1f0c46b3 [docs] GtkCalendar: Move documentation to inline comments
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617389

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-07-06 22:46:40 +02:00
Tadej Borovšak
2ed1bab6bf [docs] GtkButton: Move documentation to inline comments
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617386

Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-07-06 22:46:40 +02:00
Colin Walters
c609c4e807 Fix annotation syntax for gtk_widget_class_path 2010-07-06 15:50:07 -04:00
John (J5) Palmieri
74b3875ab2 fix annotation for gtk_window_set_default_icon_list 2010-07-06 15:46:14 -04:00
Colin Walters
aff8fb2ea2 Fix annotation on gtk_tree_model_get_value 2010-07-06 15:01:56 -04:00
Jonh Wendell
9125ccb1cb [GtkApplication] Add gtk_application_get_windows()
Closes #623598.
2010-07-05 17:12:53 -03:00
Ignacio Casal Quinteiro
f50d06baea Bind get_bounds and use out instead of out caller-allocates.
There is no need to use caller-allocates if the scanner already detects it.
2010-07-05 18:41:22 +02:00
Tadej Borovšak
90cd7f44f1 [docs] Minor documentation fixes.
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-07-05 17:21:55 +02:00
Xan Lopez
533ea97c67 Remove leftover uses/references of GtkNotebook::group-id 2010-07-02 22:38:39 +02:00
Javier Jardón
1a03a65e36 Remove GtkWindow:allow-grow and GtkWindow::allow_shrink deprecated properties 2010-07-02 21:45:08 +02:00
Javier Jardón
1f38a7ac10 Deprecate GtkWindow:allow-grow and GtkWindow::allow_shrink properties
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610346
2010-07-02 21:44:56 +02:00
Florian Müllner
1e1c5e3ca1 [iconview] Fix segfault when using rubberband selection
When iterating over the cairo region's rectangles, do not decrement
the counter twice ...

https://bugzilla.gnome.org/show_bug.cgi?id=623389
2010-07-02 15:39:02 +02:00
William Jon McCann
85e3f22c19 Show lock warning for num lock as well as caps lock
https://bugzilla.gnome.org/show_bug.cgi?id=623239
2010-07-01 21:46:08 -04:00
Javier Jardón
319d2bb4f1 [gdk] Remove GdkWindowObject public structure
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Ignacio Casal Quinteiro
fa752d156b Fix annotation. 2010-06-30 20:37:22 +02:00
Benjamin Otte
300e6b84cd s/GdkRegion/cairo_region_t/ in all of gtk
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
3e96cfe8fc Deprecate the GdkRegion API
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.

https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Javier Jardón
34573b53f3 [GtkStyle] Remove deprecated GdkFont usage 2010-06-28 23:38:03 +02:00
Javier Jardón
c3987f9ee2 [GdkGC] Remove deprecated GdkFont from GdkGCValues structure 2010-06-28 23:38:03 +02:00
Javier Jardón
418d84f311 [GtkFontSel] Remove GdkFont "font" deprecated property 2010-06-28 23:38:02 +02:00
Matthias Clasen
18132ecae5 Differentiate between stepper B and C in the detail string 2010-06-28 14:45:25 -04:00
Colin Walters
905f988166 Revert "Add length to gtk_tree_path_get_indices"
This reverts commit eebb16eb1a.

Was an accidental commit.
2010-06-28 14:15:10 -04:00
Colin Walters
eebb16eb1a Add length to gtk_tree_path_get_indices
The old version wasn't introspectable as it didn't have a length
return parameter.  Also, delete gtk_tree_path_get_indices_with_depth,
since it's no longer needed.
2010-06-28 13:50:36 -04:00
Benjamin Otte
42abeadbb8 Can't select file on file browser after changing sort order
The row values are 1-indexed not 0-indexed, this has to be taken into
account when producing the new_order array.

https://bugzilla.gnome.org/show_bug.cgi?id=621414
2010-06-28 14:19:18 +02:00
Benjamin Otte
cd266cb8de Make declaration return a boolean when the function does that 2010-06-28 14:19:18 +02:00
Benjamin Otte
14e0cbe2d3 Get rid of navigation region in GtkMenu
This completes the move to get rid of using a GdkRegion for the
navigation region and the only user of gdk_region_polygon(). We keep
track of the triangle and compute in/out points ourselves now.

Unfortunately the DRAW_STAYUP_TRIANGLES debugging code doesn't work
using cairo, so I removed it completely.
2010-06-28 14:19:18 +02:00
Benjamin Otte
7ad08f19aa Create the navigation region without flipping
Gets rid of some code in preparation to switching to do the computation
completely without GdkRegion.
2010-06-28 14:19:18 +02:00
Kristian Rietveld
7f2e4c38a9 Move Leopard-specific type definitions to gdkquartz.h
Update includes subsequently where it matters.  Fixes build on Mac OS
X 10.4.

(cherry picked from commit e634f3fbe0)
2010-06-27 11:00:42 +02:00
Matthias Clasen
12cdd1e33b Use SED instead of sed 2010-06-26 23:02:08 -04:00
Matthias Clasen
48a5b4ee97 Misc documentation fixes 2010-06-26 23:00:47 -04:00
Matthias Clasen
0ef0b9c68b Use GREP, not grep
As reported in bug 621927
2010-06-26 22:35:56 -04:00
Mirsal Ennaime
23a61525f6 Add an accessor for the GSEALed Gtkbutton's event_window attribute
* Add the gtk_button_get_event_window() function

Closes: bgo#622581
2010-06-26 21:22:02 -04:00
Matthias Clasen
e73a2e5654 Add context to detail strings when drawing steppers
As usual, this is protected by a style property:
GtkRange::stepper-position-details
The detail strings are
<detail>_start, <detail>_end and <detail>_middle.

See bug 621250
2010-06-26 21:04:31 -04:00
Matthias Clasen
67cd929267 Remove deprecated notebook api 2010-06-26 16:29:43 -04:00
Ignacio Casal Quinteiro
4601ad2352 Fix GtkTextBuffer annotations. 2010-06-26 20:47:42 +02:00
Matthias Clasen
16ecf55832 Make GTK+ use an external gdk-pixbuf 2010-06-26 01:09:05 -04:00