Javier Jardón
7764ee564c
gtk/gtkeventbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
f11207c33e
gtk/gtkexpander.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
b62b834eb5
gtk/gtkfilechooserdefault.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
7f8aaf04da
gtk/gtkfilechooserentry.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
fe2815026b
gtk/gtkfixed.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
2758329204
gtk/gtkframe.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
effdde9471
gtk/gtkhsv.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
90ee7ca493
gtk/gtkimagemenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
37d62149bb
gtk/gtkinfobar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
0a3431e8f6
gtk/gtkinvisible.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
84297150e8
gtk/gtkitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
69b6dbdb08
gtk/gtklabel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
26f21cf0e9
gtk/gtklayout.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
00152ff835
gtk/gtklinkbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
1783b227e8
gtk/gtkmain.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
7587ee2dde
gtk/gtkmenubar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
4d928459d3
gtk/gtkmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
03842616fb
gtk/gtkmenushell.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
298b3643aa
gtk/gtkmenutoolbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
593b32c6ab
gtk/gtkmessagedialog.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
ce977a1a33
gtk/gtkmnemonichash.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
f8ac83bc07
gtk/gtkoffscreenwindow.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
e49c130018
gtk/gtkpaned.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
d854499f4a
gtk/gtkplug.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
6b7efdf8a1
gtk/gtkprogressbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
d52eb49529
gtk/gtkradiobutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
c6f4e71a31
gtk/gtkrange.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
c35fa9bc5a
gtk/gtkrecentchooserdefault.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
dbd395a7ac
gtk/gtkscale.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
41fcf40648
gtk/gtkscalebutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
482637a41e
gtk/gtkscrolledwindow.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
804ad0dd88
gtk/gtksizegroup.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
4870f2ec30
gtk/gtkselection.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
ab27b01fb9
gtk/gtkseparatortoolitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
551fa5c8df
gtk/gtksocket.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
91a49bac5a
gtk/gtkspinner.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
4847b9a940
gtk/gtkstatusbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
f43610e110
gtk/gtkstatusicon.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
bf1f03ad5d
gtk/gtkstyle.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
c9dd25bd11
gtk/gtktable.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
c4b452a22c
gtk/gtktearoffmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
c6dcef5089
gtk/gtktestutils.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
82f521b514
gtk/gtktextdisplay.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
063454f630
gtk/gtktextutil.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
7fd15c82bf
gtk/gtktoolbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
7e753a9a86
gtk/gtktoolbutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
5e2c943742
gtk/gtktoolitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
1f9eb57338
gtk/gtktoolitemgroup.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
34e63dcd46
gtk/gtktoolpalette.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
3f101bb08c
gtk/gtktooltip.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
1c6b3f53a0
gtk/gtktreeviewcolumn.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
a44969e877
gtk/gtkuimanager.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
ae47b7925a
gtk/gtkviewport: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
e3be606a1c
gtk/gtkwin32embedwidget: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
7b4cf7587a
gtk/gtkwindow-decorate: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
7d9c4b71a9
gtk/tests/builder.c: Use accessor functions to access GtkWidget
2010-08-22 18:33:10 +02:00
Javier Jardón
46e65a9164
gtk/tests/testing.c: Use accessor functions to access GtkWidget
2010-08-22 18:33:04 +02:00
Javier Jardón
6f74ff20a2
gtk/tests/treeview-scrolling.c: Use accessor functions to acccess GtkWidget
2010-08-22 18:32:56 +02:00
Philip Withnall
5fa4a05ccc
Miscellaneous string fixes
...
Mostly capitalisation fixes. Closes: bgo#528257
2010-08-22 15:06:45 +01:00
Philip Withnall
12e83244b1
Bug 528257 — File selector and stock string problems
...
Fix some stock item strings. Helps: bgo#528257
2010-08-22 12:24:00 +01:00
Matthias Clasen
fe1a39b1f2
Make button boxes semi-homogeneous
...
If a child is too large (> 1.5 the average), let it have its own
size. The old behaviour of fully homogeneous button boxes can still
be had by setting the homogeneous property to TRUE. Bug 84188.
2010-08-22 00:33:37 -04:00
Philip Withnall
df5ade16ab
GtkFontSelection: don't notify the non-existent "font" property
...
The "font" property was removed in 418d84f311
.
Closes: bgo#627580
2010-08-22 02:47:00 +01:00
Tristan Van Berkom
804c800979
Fixed oversized menus allocated offscreen
...
Removed the old toplevel window size-request signal and
do the clamping in gtk_menu_get_height_for_width() instead,
also make sure to invalidate the size before doing a new
request just after invoking the delegate menu position func.
2010-08-20 21:18:13 -04:00
Tristan Van Berkom
10ceb9da68
Fixed GtkMenuItem to not access the menu->requisition but get the minimum size request instead.
2010-08-20 21:18:13 -04:00
Tristan Van Berkom
005e8a6c2f
Changed combo box's menu position function to use child menu
...
item's allocation instead of a complex calculation to guess
it's height for width.
2010-08-20 19:26:10 -04:00
Tristan Van Berkom
af7a187919
Added GtkCellRendererText::max-width-chars property
...
Added a property to limit the minimum/natural size request
of a text cell renderer.
2010-08-20 19:26:09 -04:00
Matthias Clasen
f7a6c05158
Remove leftover debug spew
2010-08-20 17:32:21 -04:00
Jonh Wendell
c9340c37a9
Drop one duplicated function header
2010-08-20 14:20:51 -03:00
Jonh Wendell
02b50d71ce
Use an acessor function instead of a deprecated macro
2010-08-20 14:11:05 -03:00
Matthias Clasen
a64bd5d1f0
Fix gtk_widget_queue_draw
...
The draw-border removal did not get it right for !no-window widgets.
Bug 627445.
2010-08-20 08:48:07 -04:00
Tristan Van Berkom
7ef9cc3a1c
Prevent file filter name sizes from expanding the dialog (bgo #527499 ).
...
Made GtkFileChooser file filter combobox ellipsize.
2010-08-19 19:09:53 -04:00
Benjamin Otte
de8b07c3df
textview: Make cursor display again
...
The code for initializing the clip rectangle was accidentally deleted in
a previous patch. Put it back.
2010-08-19 12:08:23 +02:00
Stefan Kost
0e1eee26b9
[filechooserentry] don't show misplaced completion popup
...
Override the key-press-event instead of overriding the focus method.
Fixes #627139
2010-08-19 09:37:53 +03:00
Tristan Van Berkom
52e5f36dc3
Implemented height-for-width geometry management for menus
...
Now GtkMenu/GtkMenuItem request/allocate in height-for-width
manner... to reduce the height of the menu one must explicitly
set the requested minimum width of the menu to a greater value
(using gtk_widget_set_size_request()).
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
9c26bd525f
Added height-for-width management for GtkComboBox/GtkCellView
...
now GtkComboBox (and GtkCellView) request and allocate children/cells
in a height-for-width manner.
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
9f762fe86c
Added GtkCellSizeRequest bits to makefile, gtk/gtk.h and gtk/gtk.symbols.
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
e2a82c70b4
Added/Implemented GtkCellSizeRequestIface
...
This patch adds height-for-width geometry management
for cell renderers while still responding to the old
gtk_cell_renderer_get_size() apis with virtual return values
(obtained by soliciting the new height-for-width cell renderer
apis).
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
fa565f3a3e
Fixed accel label to do its derived work in ->get_width() instead of the old ->size_request()
2010-08-18 20:01:27 -04:00
Tristan Van Berkom
0cb7aa9c7b
GtkBox: Clipped values passed to gtk_distribute_natural_allocation() incase allocated less than requested.
2010-08-18 20:01:27 -04:00
Tristan Van Berkom
8c14bf009d
Added return_if_fail guard to gtk_distribute_natural_allocation()
2010-08-18 20:01:27 -04:00
Matthias Clasen
f65265fff9
Make stock icons use standard icon names
...
At least where standard names are available, instead of relying
on a symlink forest in the icon theme directory. For directional
variants, we look up icons by the pair ("foo-rtl", "foo") or
("foo-ltr", "foo"). See bug 626474.
2010-08-18 18:26:58 -04:00
Matthias Clasen
501eeaff11
Remove GtkWidget::draw-border
...
This is a never-used style property that came out of some old
themeing experiments, and handling it has some performance
overhead. Bug 426924
2010-08-18 12:46:57 -04:00
Christian Persch
ffa07ee21e
Use G_DEFINE_BOXED_TYPE
...
Bug #627214 .
2010-08-18 15:34:47 +02:00
Javier Jardón
f730af8360
docs: gtk_window_group_get_current_device_grab() was added in 3.0
2010-08-18 05:29:17 +02:00
Tomeu Vizoso
24d8c776d4
The 'len' argument of gtk_text_buffer_insert and gtk_text_buffer_insert_at_cursor isn't really the length of the 'text' argument
2010-08-17 17:57:58 +02:00
Tomeu Vizoso
813da6a39a
gtk_tree_model_iter_next's iter is (in), not (inout)
2010-08-17 17:43:04 +02:00
Carlos Garnacho
bddb72476c
GtkButton: Also handle activate from mouse events.
2010-08-17 15:45:17 +02:00
Matthias Clasen
0ea8572d89
Drop internal function from header
...
Make _gtk_button_box_child_requisition static.
2010-08-16 21:58:26 -04:00
Matthias Clasen
e057cb8b4d
Drop some unnecessary variables
2010-08-16 21:58:26 -04:00
Benjamin Otte
8805b58e62
textview: Fix rendering of embedded images
2010-08-16 19:48:45 +02:00
Javier Jardón
83c20d4b32
GtkToolbar: move public members to private structure
2010-08-14 02:25:33 +02:00
Matthias Clasen
6334d13de5
Remove some leftovers of deprecated functionality
...
There were some vestiges of the gtk_{h,v}button_box_set_default_layout()
functionality left. These are gone now. I have also removed
the GTK_BUTTONBOX_DEFAULT value in GtkButtonBoxStyle, but the other
values have been kept at their numeric values, to avoid more serious
ABI change.
2010-08-12 23:25:10 -04:00
Javier Jardón
05e33f69eb
gtk_range_set_min_slider_size() should receive an gint, not a gboolean
2010-08-13 02:49:27 +02:00
Javier Jardón
97fbf97be2
GtkTextTagTable: move public members to private structure
2010-08-12 18:33:28 +02:00
Javier Jardón
e6ed4da215
GtkCalendar: move public members to private structure
2010-08-12 18:02:31 +02:00
Claudio Saavedra
e4a83370c4
Improve the looks of the license text in GtkAboutDialog
...
It is not safe to assume that copyright text in applications is
one liner, therefore it's better to split it from the program name.
Also, the license text should be in a paragraph of its own, so
add an extra '\n' above it.
https://bugzilla.gnome.org/show_bug.cgi?id=626514
2010-08-12 14:23:58 +03:00
Benjamin Otte
159caba3e2
Add gtk_license_get_type() to gtk.symbols
2010-08-11 21:43:47 +02:00
Benjamin Otte
eff92cb1d6
dnd: Remove default_icon_pixmap variable and friends
...
The functions to set them were gone already, this is just cleanup
2010-08-11 02:30:29 +02:00
Benjamin Otte
709e05cdb2
style: Use _gtk_pango_fill_layout()
2010-08-10 21:02:31 +02:00
Benjamin Otte
ccacd3a46a
style: Apply same matrix conversion as gdk_draw_layout() did
...
This is only necessary for GtkLabel with an angle set as no other widget
rotates text.
Note that the label code does not need these adjustments as those paths
are only taken when the label is not rotated.
2010-08-10 21:02:31 +02:00
Benjamin Otte
e42033d2cc
colorsel: Create cursor image using Cairo
2010-08-10 21:02:30 +02:00
Benjamin Otte
7b9e2b941c
style: Don't use gdk_pixmap_create_from_xpm
...
Instead, do what that code did manually.
2010-08-10 21:02:30 +02:00
Benjamin Otte
09fbed7bc9
style: Do not allocate colors anymore
2010-08-10 21:02:30 +02:00
Benjamin Otte
a50843e160
gtkbuilder: Do not allocate colors when parsing GtkBuilder files
2010-08-10 21:02:30 +02:00
Benjamin Otte
25fc4d97f8
textview: remove GtkTextAttributes (un)realize code
...
It was unused (apart from a few assertion that indeed it was unused).
2010-08-10 21:02:30 +02:00
Kristian Rietveld
54ac92aaaf
Add call to cairo_destroy() to gtk_text_layout_draw()
2010-08-10 21:02:29 +02:00
Kristian Rietveld
089892df27
Add missing calls to cairo_destroy()
2010-08-10 21:02:29 +02:00
Benjamin Otte
0fa7d810e7
calendar: Remove unused GdkGC members
2010-08-10 21:02:29 +02:00
Benjamin Otte
ac3ddfa2a7
API: Remove gtk_gc_get() and gtk_gc_release()
...
With this change, GTK does not use GdkGC anymore.
2010-08-10 21:02:29 +02:00
Benjamin Otte
acf33c9e4c
API: Remove GC members from GtkStyle
2010-08-10 21:02:29 +02:00
Benjamin Otte
90ac7b915c
textview: Replace GdkGC * argument with gpointer
...
The argument is unused.
That's also the reason why we can pass NULL instead of the real GC in
the caller.
2010-08-10 21:02:29 +02:00
Benjamin Otte
1ac8d80e34
API: remove GdkPangoRenderer
...
Also removes the pango attributes for stipple, emboss and emboss color
2010-08-10 21:02:29 +02:00
Benjamin Otte
fea39c078b
textview: Make the PangoRenderer use Cairo exclusively
...
No more gdkpango usage, no more GdkGC required, yay!
2010-08-10 21:02:29 +02:00
Benjamin Otte
805e0d1082
label: Draw all text using PangoCairo
...
This includes the addition of a "small" helper function,
_gtk_pango_fill_layout() that ignores color information. This
functionality is not available inside Pango and until that happens, we
need this fix. The bug is filed at:
https://bugzilla.gnome.org/show_bug.cgi?id=624917
2010-08-10 21:02:28 +02:00
Benjamin Otte
9f1939cbd5
API: Remove GtkTextTag's stipple properties
...
They seem pretty much unused and the only reason why GtkTextView uses a
GdkPangoRenderer and not a PangoCairoRenderer.
2010-08-10 21:02:28 +02:00
Benjamin Otte
66048b2f92
style: Replace last gdk_draw_rectangle() with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
a3057d0150
style: replace draw_frame_gap with Cairo calls
2010-08-10 21:02:27 +02:00
Benjamin Otte
5eb76955fd
style: Replace draw_diamond vfunc with Cairo calls
2010-08-10 21:02:27 +02:00
Benjamin Otte
d2b1da4e84
API: remove gtk_paint_polygon()
...
Almost noone uses it in real applications and it's broken in most theme
engines.
2010-08-10 21:02:27 +02:00
Benjamin Otte
53b9bdc3fc
iconview: Remove debug drawing code
...
It uses APIs I'm about to deprecate.
2010-08-10 21:02:27 +02:00
Benjamin Otte
1c4ce45a42
style: apply cleanup patch from bug 576988
...
Ideally this patch would be split up into chunks, but the git branch it
came from doesn't exist anymore. Only this patch is left in a bug
report.
It it's adapted to use accessors and contains some fixes that were
spotted while using the patch.
https://bugzilla.gnome.org/show_bug.cgi?id=576988
2010-08-10 21:02:27 +02:00
Benjamin Otte
7489c260eb
colorsel: Use gdk_pixbuf_get_from_drawable()
...
Instead of fiddling with GdkImage directly.
2010-08-10 21:02:26 +02:00
Benjamin Otte
d54c2cfeee
API: remove gdk_screen_get_rgb_colormap/visual()
...
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
2010-08-10 21:02:26 +02:00
Benjamin Otte
24a867f8da
image: remove GdkImage as a possible image type
...
GdkImage is about to be deprecated.
2010-08-10 21:02:25 +02:00
Kristian Rietveld
11ee2abacc
Add missing cairo_destroy() call
2010-08-10 21:02:25 +02:00
Benjamin Otte
50266ca95d
filechooser: Remove unused functions.
...
The last user is gone since 3a1ba3bd1e
2010-08-10 21:02:25 +02:00
Matthias Clasen
2c40c2b7c8
Don't activate insensitive widgets
...
This was reported by Christian Becke in bug 626052.
2010-08-10 13:42:17 -04:00
Federico Mena Quintero
3a1ba3bd1e
bgo#625416 - Don't reload the filechooser's folder during a re-map event
...
Long ago, before we had file monitoring at the GIO/Glib level, we would
reload the current folder each time a file chooser gets (re)mapped.
This was basically to let the GIMP recycle the same file chooser for all
file/open or file/save operations, instead of creating a new one every time.
In that case, we reloaded the folder with each ::map() event so that the
file chooser would present an up-to-date view of the folder that was being
displayed. Now, the folder should always be up-to-date as we do
file monitoring all the time.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-08-10 11:36:03 -05:00
Matthias Clasen
316b9da873
Allow to unset the tree selection function
...
This is not causing problems, and seems natural. Bug 626276.
2010-08-10 07:35:54 -04:00
Philip Withnall
3eb197b51f
Bug 596125 — Property string fixes
2010-08-10 09:23:49 +01:00
Matthias Clasen
fb48e023d2
Fix a sporadic segfault in treeview keynav
...
If a a treeview has frequent periodic additions and removals of
rows, it is possible that a page down keypress moves the cursor
out of the height of the treeview. In some of these cases, we
can be tricked into dereferencing a NULL pointer.
Bug 612919.
2010-08-10 00:31:46 -04:00
Gabor Kelemen
e3bd926c1e
Set translation domain for parameter_string in gtk_init_with_args
...
This was requested in bug 554926.
2010-08-10 00:11:40 -04:00
Emmanuele Bassi
73030c462f
about: Add :license-type property
...
The :license-type property of GtkAboutDialog allows using a symbolic
enumeration value that will construct a placeholder license preamble
linking to a specific URL. This allows localization of the licensing
text without using a translation of the actual license, since it would
not be valid.
Bug 336225.
2010-08-10 00:00:15 -04:00
Matthias Clasen
79ef5de505
Make it possible to make the expander label fill the entire space
...
This adds a boolean GtkExpander::label-fill property and uses it
when allocating space to the label. Based on a patch by Matt Barnes,
bug 614049.
2010-08-09 23:08:39 -04:00
Javier Jardón
f760538f17
gtkaccellabel: Remove unused class members
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=97414
2010-08-10 04:17:29 +02:00
Matthias Clasen
61e34032ec
Clarify the docs for gtk_widget_set_has_window()
...
The previous version of the docs did not make it clear that has-window
is the defaults. Pointed out by Magnus Hjorth, bug 615474.
2010-08-09 21:39:20 -04:00
Christian Dywan
2a12f74c8e
Clarify memory management of tree models
...
It helps to be explicit about these things.
Bug 609264.
2010-08-09 21:35:26 -04:00
Sam Thursfield
a2b72c5953
Add missing accessors for notebook details
...
The ms-windows theme engine needs to access the tab-{h,v}border,
so add accessors. Bug 625655.
2010-08-09 21:20:07 -04:00
Sam Thursfield
4047d0526d
Towards GSEAL-clean build on win32
...
Use accessors instead of direct member access in a few places.
Bug 625655.
2010-08-09 21:17:37 -04:00
Javier Jardón
e15e37b6ce
Fix GtkIMContextClass inheritance
...
Should be GObjectClass instead GtkObjectClass
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=90935
2010-08-08 06:22:45 +02:00
Javier Jardón
8b2108a8a4
gtkcombobox: Only use the child if It is a GtkCellLayout
...
This error was introduced in
commit 4427760bcc
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=625104
2010-08-08 06:22:45 +02:00
Dan Williams
1d8aec51cc
Elaborate interaction of gtk_widget_grab_default() and GtkEntry widgets
2010-08-07 23:14:47 -05:00
Tristan Van Berkom
9ddef2365f
Fixed expressions in gtk_button_size_allocate()
...
Children were getting negative allocations by misusage
of MAX() macro (bad signedness of expressions).
2010-08-07 17:41:29 -04:00
Javier Jardón
3ccc617052
Completely remove any use of GtkWindow allow-grow and allow-shrink properties
...
These have been deprecated and removed from master.
GtkWindow:resizable should be used instead.
This completes commit 1a03a65e36
Reported by Benjamin Otte
2010-08-07 17:19:16 +02:00
Tristan Van Berkom
59e7571aae
Fixed alignment of wrapping labels allocated a greater width than needed
...
When wrapping labels to allocation width, never set the label wrap
width to a size greater than needed for the label's text (closes bug 625715)
2010-08-06 22:44:11 -04:00
Benjamin Otte
32d365f476
label: Make angle part of GtkLabelPrivate
2010-08-07 02:24:00 +02:00
Tadej Borovšak
35105ab2b4
Fix improperly unwinded loops
2010-08-06 20:08:32 -04:00
Tristan Van Berkom
03dfaf3c3e
Fixed bad typo causing bad vertical requests on frames with no label.
2010-08-06 18:57:41 -04:00
Tadej Borovšak
651bed57a4
Implement fair extra space allocation
2010-08-06 17:28:07 -04:00
Tristan Van Berkom
208ba9bb50
Make GtkFrame allocate its label considering natural size requests
...
Also like the GtkExpander, the label widget is allocated the minimum
height for its allocated width and the remaining space is given to
the child, test case included.
2010-08-06 16:57:11 -04:00
Tristan Van Berkom
e83a8826e6
Implemented GtkSizeRequest on GtkExpander and added test
...
Now the expander requests and distributes space naturally,
the expander widget prioritizes the child widget vertically
and only allocates the minimum height for width to the label
widget.
2010-08-05 12:50:25 -04:00
Tristan Van Berkom
95b3e63057
Migrated old loops to use gtk_distribute_allocation().
2010-08-05 12:50:25 -04:00
Tristan Van Berkom
6c76243f46
Added gtk_distribute_allocation()
...
Added a convenience api for containers to use when allocating
children (used to distribute space evenly to children).
2010-08-05 12:50:25 -04:00
Tomeu Vizoso
963e1ec033
Stop assuming that priv->label_widget will be a GtkLabel.
...
https://bugzilla.gnome.org/show_bug.cgi?id=623603
2010-08-05 10:31:40 +02:00
Carlos Garcia Campos
76267f9d06
Add _gtk_box_get_children() internal function
...
https://bugzilla.gnome.org/show_bug.cgi?id=625300
2010-08-05 09:51:15 +02:00
Matthias Clasen
dcdb00adb4
Avoid warnings with tooltips on toplevels
...
This was reported for tooltips on statusicons in bug 625235, but
it was affecting regular toplevel windows as well.
2010-08-05 00:12:41 -04:00
Matthias Clasen
92d34337f7
Re-add a lost Since: line
...
Pointed out in bug 579583
2010-08-04 22:58:14 -04:00
Matthias Clasen
519eae8729
Don't allocate space for "" in scale marks
...
Turns out GtkBuilder ends up creating marks with non-NULL
empty texts, so ignore those. Bug 614443, reported by Filippo Argiolas.
2010-08-04 21:47:54 -04:00
Philip Withnall
3a34295b9c
Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()
...
Closes: bgo#625650
2010-08-05 00:53:43 +01:00
Philip Withnall
080e8ab0a8
Add (inout) annotation to gtk_tree_model_iter_next()
...
Closes: bgo#625650
2010-08-05 00:53:36 +01:00
Paolo Borelli
cffda84e93
Annotate GtkTextBuffer insert methods
2010-08-04 21:04:04 +02:00
Cody Russell
cd3510ce1f
Change GtkCalendar's inner border and separator values from hard-coded
...
ones to using style properties.
https://bugzilla.gnome.org/show_bug.cgi?id=624779
2010-08-03 10:45:14 -05:00
Javier Jardón
237ed3bbf8
Remove some unused variables
2010-08-03 12:44:52 +02:00
Fridrich Štrba
c4b129bac2
Fix 32-bit Windows build using mingw-w64 toolchain
2010-08-03 03:01:49 +02:00
Fridrich Štrba
02068350ff
Make the Windows manifest correspond to the name of the binary
2010-08-03 02:49:01 +02:00
Benjamin Otte
5e8c274e32
progressbar: Remove act_mode_enter vfunc
...
It doesn't make sense to have a vfunc for this.
2010-07-31 22:42:59 +02:00
Benjamin Otte
97f361c98f
progressbar: Remove offscreen pixmap
...
Why did the progressbar keep an offscreen pixmap anyway? It didn't even
double buffer...
2010-07-31 22:42:59 +02:00
Benjamin Otte
ca513cec2e
progressbar: Remove paint vfunc
...
Unconditionally call gtk_progress_bar_paint() instead. It was called in
various places instead of the vfunc already anyway.
2010-07-31 22:42:59 +02:00
Benjamin Otte
de401fd06d
progressbar: Remove unused update vfunc
2010-07-31 22:42:59 +02:00
Benjamin Otte
5d5332a493
paned: Remove unused GdkGC
2010-07-31 22:41:39 +02:00
Benjamin Otte
5649431acb
docs: Remove mention of gdk_draw_drawable()
...
That function is about to die.
2010-07-26 16:42:49 +02:00
Benjamin Otte
610e29892e
style: Draw insertion cursor with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
9bac13b1f5
Remove _gtk_widget_get_cursor_gc() function
...
It's unused now.
2010-07-26 16:42:48 +02:00
Benjamin Otte
761b0ea3ae
testing: Use Cairo calls instead of gdk_draw_line() to test server sync
2010-07-26 16:42:48 +02:00
Benjamin Otte
c122d31c29
decorations: Draw text with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
a8d805ffbc
decorate: Draw decorations using Cairo
...
Patch is untested, is there an example using this?
2010-07-26 16:42:47 +02:00
Benjamin Otte
ff25b0dc20
hsv: Remove unused variable
2010-07-26 16:42:47 +02:00
Benjamin Otte
5cd6d309ea
treeview: Draw the dnd pixmaps with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
da426ec97c
treeview: Draw lines with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
8dd3317502
treeview: Unify all line drawing into the same function
...
This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.
2010-07-26 16:42:47 +02:00
Benjamin Otte
526aac1fda
treeview: Draw column reordering arrows with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
41621e212b
ruler: Replace gdk_draw_drawable calls with Cairo
...
and get rid of the custom GC
2010-07-26 16:42:47 +02:00
Benjamin Otte
5fd0c28c78
menu: replace gdk_draw_drawable() call with Cairo equivalent
2010-07-26 16:42:47 +02:00
Benjamin Otte
671c506dfc
filechooser: Remove commented out code
...
It wouldn't compile with current APIs anyway
2010-07-26 16:42:47 +02:00
Benjamin Otte
4181abd69a
progressbar: Use cairo instead of gdk_draw_drawable()
2010-07-26 16:42:47 +02:00
Benjamin Otte
6eed185502
spinner: We want the default colormap, not the RGB colormap
...
GtkSpinner doesn't use GdkRGB
2010-07-26 16:42:46 +02:00
Benjamin Otte
8f6a014de4
image: Use Cairo instead of gdk_draw_drawable()
2010-07-26 16:42:46 +02:00
Benjamin Otte
847d401df3
image: replace gdk_draw_pixbuf() call with Cairo equivalent
2010-07-26 16:42:46 +02:00
Benjamin Otte
0310626938
textview: draw dnd icon with Pango
2010-07-26 16:42:46 +02:00
Benjamin Otte
dec093d9f1
textview: Draw selection background with Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
3e469d737e
textview: Draw drag icons using Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
f1074be1ed
textview: Use _gtk_widget_get_cursor_color() and Cairo
...
Previously the code was using _gtk_widget_get_cursor_gc()
2010-07-26 16:42:46 +02:00
Benjamin Otte
8c035b6048
textview: Draw empty shape logo with Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
373128ce29
textview: replace gdk_draw_pixbuf() call with Cairo version
2010-07-26 16:42:46 +02:00
Benjamin Otte
de6314d084
colorbutton: Render with Cairo
...
In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.
2010-07-26 16:42:46 +02:00
Benjamin Otte
d203b830a9
entry: replace gdk_draw_pixbuf() call with Cairo version
2010-07-26 16:42:46 +02:00
Szilárd Pfeiffer
ac34031b4e
Moved the drawing of horizontal grid lines after cell drawing.
...
Without the change if the cell background is set the horizontal
grid line cannot be seen.
2010-07-25 14:50:12 +02:00
Federico Mena Quintero
917f5c1272
Clarify what the @event is used for when calling gtk_drag_begin()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-07-23 11:51:46 -05:00
Christian Dywan
1c5ee1df12
Correct marshaller for switch-page and adjust emission from menu
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
2010-07-23 13:21:33 +02:00
Stanislav Brabec
ccc3d2c69f
Fix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()
...
If gtk_drag_begin() gets passed GDK_CURRENT_TIME, try to use
gtk_get_current_event_time(). If it fails, use GDK_CURRENT_TIME when
ungrabbing in gtk_drag_end().
For more see https://bugzilla.gnome.org/show_bug.cgi?id=623865
2010-07-22 16:20:06 -05:00
Javier Jardón
c1a2ecc369
Check if childs actually exists before using it
...
Check seems to have gone lost during GtkBin sealing in commit 4427760b
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624707
2010-07-22 17:17:43 +02:00
Javier Jardón
6852137e13
Move GtkBoxChild from the public .h to gtkbox.c
...
https://bugzilla.gnome.org/show_bug.cgi?id=624397
2010-07-20 02:58:36 +02:00
Javier Jardón
82efd2d92f
Do not use GtkBoxChild in GtkStatusBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=624397
2010-07-20 02:35:49 +02:00
Javier Jardón
910ad4872c
gtkentrycompletion: check return value because It can be non-UTF8
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624270
2010-07-19 23:56:22 +02:00
Javier Jardón
cd9a9e1548
GtkWindowGroup: Add guards to some gtk_window_group_* functions
2010-07-19 17:53:51 +02:00
Javier Jardón
9ee3d73a19
Add _gtk_check_menu_item_set_active() internal function
...
It's needed by gtkradiomenuitem
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624432
2010-07-19 16:08:07 +02:00
Christian Persch
1af1362a36
gtknotebook: Fix critical warnings on scroll events
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391
2010-07-19 15:28:03 +02:00
Ted Gould
6330ea9e43
gtkstock: Adding a File label stock item.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622658
2010-07-19 15:26:18 +02:00
Javier Jardón
1bfa931e20
Add _gtk_toggle_action_set_active() internal function
...
It's needed in gtkradioaction
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624540
2010-07-19 15:16:03 +02:00
Carlos Garnacho
4682d563cf
GtkWindow: keep a reference of the widget on focus change.
...
Focus out could lead to the widget being destroyed (for example,
in editable cell renderers when DnD starts), so keep the widget
alive while iterating through the devices.
2010-07-19 15:08:43 +02:00
Javier Jardón
0fd82767ff
gtktextbuffer: Remove GET_PRIVATE macro
...
It's only needed one time and should not be used again in the code.
2010-07-19 15:01:02 +02:00
Ignacio Casal Quinteiro
a1be4eccb0
Move GtkTextBuffer sealed attributes to private struct.
2010-07-17 10:39:37 +02:00
Matthias Clasen
271d66fc81
Remove accidental addition
2010-07-16 01:22:01 -04:00
Matthias Clasen
7491e9e97a
Allow windows to be dragged by clicking on empty areas
...
Allow windows to be dragged by clicking on empty areas in menubars
and toolbars. This is under theme control, via the GtkWidget::window-dragging
style property. The idea is that it makes sense to turn this on if a
theme makes the window frame and the menubar/toolbar appear visually
contiguous.
The main patch was written by Cody Russell, with a contribution by
Ayan George. See bug 611313.
2010-07-16 01:15:47 -04:00
Paolo Borelli
0754f2d72f
Do not use GtkBoxChild in GtkButtonBox.
...
Do not store the is_secondary bit in the deprecated parent struct, use a
simple flag on the object instead. Fixes bug #624367 .
2010-07-15 22:42:07 +02:00
Javier Jardón
133f0744b9
docs: gitignore GtkRecentManager .sgml template
...
THis completes commit 8eeeb97de6
2010-07-15 15:43:48 +02:00
Emmanuele Bassi
8eeeb97de6
docs: Inline GtkRecentManager documentation
2010-07-15 09:10:55 +01:00
Javier Jardón
cfa241a891
Remove GtkRecenManager:limit deprecated property
2010-07-15 03:12:12 +02:00
Javier Jardón
678e738f8d
Deprecate GtkRecenManager::limit property
...
The :limit property of GtkRecentManager does not serve any useful
purpose: the length of the list should be managed by the view
(implementing GtkRecentChooser), and not by the model (the recent
manager).
https://bugzilla.gnome.org/show_bug.cgi?id=624333
2010-07-15 02:40:28 +02:00
Jonh Wendell
5c2966dda3
Do not access an invalid ActionGroup. Closes #624362 .
2010-07-14 14:50:28 -03:00
Javier Jardón
8fbccfb1a9
GtkTreeView: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
66c0673a41
GtkTreeModelFilter: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
aedc5e967f
GtkToolItem: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
c90ca18c2f
GtkToggleToolButton: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
87b0f02403
GtkPrintUnixDialog: unseal private pointer
2010-07-14 02:11:00 +02:00
Javier Jardón
9db9c5f247
GtkPrintOperation: unseal private pointer
2010-07-14 02:07:04 +02:00
Javier Jardón
6fae72c419
GtkExpander: unseal private pointer
2010-07-14 02:01:20 +02:00
Javier Jardón
a2fef51b64
GtkToolButton: unseal private pointer
2010-07-14 01:58:29 +02:00
Javier Jardón
461f055da6
GtkAlignment: move public members to private structure
2010-07-14 01:48:53 +02:00
Javier Jardón
5828453ae5
Use accessor functions to access GtkAlignment
2010-07-14 01:48:53 +02:00
Javier Jardón
e1184e362c
GtkViewport: move public members to private structure
2010-07-14 01:17:28 +02:00
Javier Jardón
3ea904fa49
gtkuimanager: unseal private pointer
2010-07-14 01:17:28 +02:00
Javier Jardón
18a06d6b6a
gtktoggleaction: move public members to private structure
2010-07-14 01:17:28 +02:00
Javier Jardón
3ce68cd5de
Use accessor functions to access GtkToggleAction
2010-07-14 01:17:28 +02:00
Javier Jardón
e69979f7b6
gtktearoffmenuitem: Move public members to private structure
2010-07-14 01:17:28 +02:00
Jonh Wendell
5f1b5d2406
Merge branch 'windows_list'
2010-07-13 16:49:21 -03:00
Javier Jardón
703f7121ae
GtkTable: move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
1af22acbf7
Use accessor functions to access GtkTable
2010-07-13 19:40:50 +02:00
Javier Jardón
ff27677957
gtkstatusicon: unseal private pointer
2010-07-13 19:40:50 +02:00
Javier Jardón
9114c4c410
gtkstatusbar: Move public members to private structure
2010-07-13 19:40:50 +02:00
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