Hans Breuer
a2b1da064a
win32: ported backend specific code to now backend specific API
2011-01-02 13:33:08 +01:00
Hans Breuer
cfeaba9d62
Protect Unix specific print functions with G_OS_UNIX
...
Although gtk.symbols seems to be unused on Unix now it still
must not contain unprotected Unix only functions, because they
can not be exported on win32.
2011-01-02 13:33:07 +01:00
Hans Breuer
95213b3f04
win32: update msvc build
2011-01-02 13:33:06 +01:00
Hans Breuer
fc122305d0
Protect inclusion of unistd.h
2011-01-02 13:29:23 +01:00
Tristan Van Berkom
c234313a25
Make GtkCheckButton's label left aligned by default.
...
Since we no longer limit the label's allocation to the minimum, now
we take a saner approach to left aligning the label.
2010-12-29 18:20:32 +09:00
Tristan Van Berkom
a6a97ad442
Fixed unused variable in GtkCheckButton.
2010-12-29 16:30:38 +09:00
Tristan Van Berkom
21aef5b77f
Fixed generic height-for-width implementation of GtkBin to consider request adjustments
...
Since "->adjust_size_request()" was added, it became important for GtkBin's
generic height-for-width implementation to further check the requests
using this vfunc.
2010-12-29 16:26:05 +09:00
Tristan Van Berkom
f519da41cf
Make GtkCheckButton allocate all remaining space to it's child instead
...
of limiting it to it's minimum size.
This fixes height-for-width labels inside a GtkCheckButton, for some
reason GtkCheckButton was limiting the child allocation to the child's
minimum request, probably for the sake of virtual left-alignment of
the child label to be beside the checkmark. This should be done by
other means if nescesarry.
2010-12-29 16:19:48 +09:00
Tristan Van Berkom
2fe4e6a815
Added proper height-for-width implementation to GtkAlignment.
...
For "padding" cases, it would be ok to fallback on GtkBin class
implementation of height-for-width. However in cases where the
user set's an xscale/yscale the GtkAlignment needs to take care
of properly adjusting the for_size when querying it's child.
2010-12-29 16:18:04 +09:00
Tristan Van Berkom
7fab89d93f
Removed checks in gtksizerequest.c
...
Checks were in place to ensure that widgets never request taller
or wider than screen size. This was there to test a theory about
scrolled window children functioning correctly with dynamic content
however it breaks GtkViewport children which can generally return a
value taller than screen height intentionally, GtkViewport uses this
value to update the adjustments.
2010-12-29 16:12:11 +09:00
Carlos Garnacho
ac00e77e54
Make GtkToolbar use GtkStyleContext
2010-12-28 19:25:49 +01:00
Carlos Garnacho
a3a9c61a5a
Make GtkHandleBox use GtkStyleContext
2010-12-28 19:25:49 +01:00
Carlos Garnacho
029fb53ac2
Make GtkSwitch use GtkStyleContext
2010-12-28 19:25:48 +01:00
Carlos Garnacho
18b333bfe7
Make GtkFileChooserEntry make GtkStyleContext
2010-12-28 19:25:48 +01:00
Carlos Garnacho
b2e8992291
Make GtkProgressBar use GtkStyleContext
2010-12-28 19:25:48 +01:00
Carlos Garnacho
e3457a83cf
Make GtkScrolledWindow use GtkStyleContext
2010-12-28 19:25:48 +01:00
Carlos Garnacho
53a4feadf0
Make GtkEventBox use GtkStyleContext.
2010-12-28 19:25:47 +01:00
Carlos Garnacho
06462b98a0
Make GtkFrame use GtkStyleContext.
2010-12-28 19:18:57 +01:00
Carlos Garnacho
7a623988e5
Fix leak in GtkStyle.
2010-12-28 19:06:46 +01:00
Tristan Van Berkom
05254766c7
Avoid rendering frames when shadow type argument is GTK_SHADOW_NONE in
...
gtk_paint_* functions.
2010-12-28 23:15:39 +09:00
Ignacio Casal Quinteiro
9d64a5833d
Fix docs.
2010-12-28 11:18:01 +01:00
Benjamin Otte
9746991548
API: gdk: Make gdk_display_get_window_at_device_position() a device API
...
It's now called gdk_device_get_window_at_position(). It doesn't make
sense to keep device-specific API part of the display.
2010-12-27 18:46:41 +01:00
Benjamin Otte
0c285341a9
API: gdk: gdk_display_get_device_state() => gdk_device_get_position()
...
The API was not display-specific, but belonged to the device. Also, we
didn't find a user of the modifier mask, so we dropped it.
2010-12-27 18:46:41 +01:00
Matthias Clasen
59ea137fa0
GtkTreeView: Don't use deprecated grab api
2010-12-26 23:40:59 -05:00
Matthias Clasen
51f7e42650
Remove pointless sealing from GtkTextMark
2010-12-26 23:17:10 -05:00
Matthias Clasen
0c4a0dae6d
Remove pointless sealing from GtkTextChild
2010-12-26 22:58:57 -05:00
Matthias Clasen
9dee9a84d0
Removed sealed members from GtkMenuItem
2010-12-26 22:58:57 -05:00
Benjamin Otte
45d98d108e
tooltip: Don't use deprecated APIs
2010-12-27 01:05:40 +01:00
Benjamin Otte
a5f493bfad
notebook: Use nondeprecated API to query coordinates
2010-12-27 00:50:30 +01:00
Benjamin Otte
9bab53f1bd
hsv: Fix gcc warnings
2010-12-27 00:45:56 +01:00
Matthias Clasen
bde1d072e5
Don't use gdk_{pointer,keyboard}_grab
...
Instead use gdk_device_grab.
2010-12-24 20:00:19 -05:00
Matthias Clasen
1d41b98cf8
Add deprecation guards for deprecated GdkAppLaunchContext API
...
Also adapt the docs to not use deprecated API.
2010-12-24 17:37:00 -05:00
Carlos Garnacho
0f0512aee3
Use gtk_style_context_get_font() in GtkSpinButton
2010-12-24 20:20:40 +01:00
Carlos Garnacho
92102c3bf4
Make GtkSeparator use GtkStyleContext
2010-12-24 19:38:14 +01:00
Carlos Garnacho
7c35994bda
Make GtkPaned use GtkStyleContext
2010-12-24 19:38:06 +01:00
Carlos Garnacho
760d6d1e78
Do not set "entry" class in spinbutton buttons.
...
Also, fix an unpaired gtk_style_context_save() call.
2010-12-24 19:37:56 +01:00
Carlos Garnacho
2bd221d215
Bug 637910 - GtkSpinner - does not animate
...
Fix widget-to-window coordinates translation in the
style context animation code.
2010-12-24 19:37:49 +01:00
Carlos Garnacho
7f099a9a23
Make GtkArrow use GtkStyleContext
2010-12-24 19:37:41 +01:00
Carlos Garnacho
e5e95934ba
Fix color name (as of rgb.txt) parsing in symbolic colors
...
The end of the substring wasn't being detected properly.
2010-12-24 19:37:30 +01:00
Carlos Garnacho
1cecb10584
Make GtkAccelLabel use GtkStyleContext.
2010-12-24 19:37:20 +01:00
Kristian Rietveld
c659542333
Check for NULL pointer
2010-12-24 14:45:47 +01:00
Matthias Clasen
55ca24d1d4
Drop GtkThemeEngine
...
It is not used anymore.
2010-12-23 22:16:50 -05:00
Matthias Clasen
ca493cd20d
Fix a few warnings
2010-12-23 22:11:50 -05:00
Matthias Clasen
7ff572dfd3
Add some missing includes
2010-12-23 22:11:28 -05:00
Matthias Clasen
1bcf8a0027
Remove sealed members from GtkSettings
2010-12-23 21:56:50 -05:00
Stef Walter
433a22cd11
Remove private header from gtkwindow.h
...
https://bugzilla.gnome.org/show_bug.cgi?id=637907
2010-12-23 19:23:48 -06:00
Matthias Clasen
7650482e46
Add sufficient API to make gail work
...
The accessible implementations should really be folded into
gtk proper. Until that happens, we need some more guts exposed...
2010-12-23 20:11:38 -05:00
Matthias Clasen
2ed81aa57c
Remove sealed members from GtkMenuShell
2010-12-23 18:21:53 -05:00
Matthias Clasen
c5b020e628
Remove sealed members from GtkMenu
2010-12-23 15:51:20 -05:00
Matthias Clasen
96d1c2c46e
Reserve space for a pointer in GtkDrawingArea
...
It was pointed out that this will let us add a private pointer
without abi break in the future, should we ever need one.
2010-12-23 13:01:21 -05:00