Christian Dywan
bb1824c131
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-04 07:57:05 +01:00
Christian Dywan
ac26960e62
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
2010-01-04 07:30:57 +01:00
Christian Dywan
3a9633a9de
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
2010-01-04 07:29:42 +01:00
Benjamin Otte
8f7c3729ef
Document missing signal parameter
2010-01-03 23:12:24 +01:00
Javier Jardón
bef70bc5bf
[docs] Add documentation for GdkWindow 'cursor' property
...
Reported by Rafal Luzynski here:
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-01-03 21:14:06 +01:00
Theppitak Karoonboonyanan
9734b1f138
Updated Thai translation.
2010-01-03 22:25:17 +07:00
Hiroyuki Ikezoe
23042427f5
Use CAIRO_VERSION instead of CAIRO_VERSION_CODE
...
Cairo does not have CAIRO_VERSION_CODE macro.
Fix for bug #605472 .
2010-01-03 18:22:55 +09:00
Matthias Clasen
23a5381cba
Make mnemonic hiding work in all cases
...
Both gtk-enable-mnemonics and gtk-auto-mnemonis did not work with
gtk_label_set_markup_with_mnemonic(). Also, fix gtk_label_set_pattern().
2010-01-03 00:57:14 -05:00
Matthias Clasen
eb2879eba9
Update dependency information
2010-01-02 22:20:51 -05:00
Matthias Clasen
85b41aaffc
Don't use string concatentation in translated strings
...
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT
here anyway.
2010-01-02 20:11:50 -05:00
Matej Urbančič
94ba3d86f3
Updated Slovenian translation
2010-01-02 09:59:16 +01:00
Matej Urbančič
1353e1f518
Updated Slovenian translation
2010-01-02 09:59:04 +01:00
Kristian Rietveld
5886e5cff2
Plug leaks in quartz implementation of gtk_drag_begin_idle()
2010-01-01 21:28:16 +01:00
Kristian Rietveld
c049c6a385
Rework a previous commit to not crash in addition to fixing leaks
...
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
2010-01-01 21:28:16 +01:00
Murray Cumming
6931245003
GtkToolPalette: docs: Minor English corrections.
2009-12-31 13:55:51 +01:00
Johan Dahlin
cdb13d233e
Make sure Gdk-2.0.gir is installed
...
Fixes a variable name typo
2009-12-31 01:48:50 +01:00
Johan Dahlin
c212f680a4
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2009-12-31 01:47:24 +01:00
Johan Dahlin
5955cfe37f
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2009-12-31 01:19:38 +01:00
Kristian Rietveld
c37c57528c
Fix compiler warning
2009-12-30 14:21:31 +01:00
Kristian Rietveld
f91907101d
Fix memory management of types array
...
Also add autorelease pool to gtk_drag_begin_idle().
2009-12-30 14:18:33 +01:00
Kristian Rietveld
c12dbae0ac
Do not leak the NSMutableSet
2009-12-30 14:16:55 +01:00
Kristian Rietveld
0912a113dd
Release view after setting it as contentView
...
Fixes GdkQuartzView being leaked.
2009-12-30 14:14:21 +01:00
Kristian Rietveld
255c2739e2
Fix memleak in get_nsscreen_for_point()
...
One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
the code to fix this.
2009-12-30 14:12:42 +01:00
Kristian Rietveld
3887838244
Fix memory leak in GdkQuartzView
...
Should remove the tracking rect in dealloc.
2009-12-30 14:11:14 +01:00
Kristian Rietveld
ee62948b83
Use CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this
2009-12-28 23:01:42 +01:00
Kristian Rietveld
436855210e
Unset expander_column when expander column is removed from tree view
2009-12-28 21:34:17 +01:00
Kristian Rietveld
e22de4a88e
Add gdk_keymap_map_virtual_modifiers() to Quartz backend
2009-12-28 21:18:57 +01:00
Kristian Rietveld
c8fef502e2
Start using CGFloat
...
Fixes a bunch of compiler warnings. Since CGFloat does not exist on
Tiger and earlier, we have added a typedef likewise as was done for
NSInteger.
2009-12-28 21:18:57 +01:00
Kristian Rietveld
f3a5bf48d4
Fix compile warning in gdk_cursor_new_from_pixmap
2009-12-28 21:18:57 +01:00
Kristian Rietveld
dd415881be
initWithContentRect: has a NSUInteger parameter now
...
The typedef in place for Tiger and earlier systems should change this
to unsigned int without problems.
2009-12-28 21:18:56 +01:00
Cody Russell
98a14e6067
Add GtkOffscreenWindow to gtk-sections.txt
2009-12-28 09:42:12 -06:00
Cody Russell
dd8e4d588f
Documentation changes.
2009-12-28 09:33:42 -06:00
Cody Russell
4681f0b467
Add 'Since 2.20' documentation.
2009-12-28 09:33:42 -06:00
Cody Russell
09b25f9739
Add documentation note for GtkOffscreenWindow emission of damage-event.
2009-12-28 09:33:42 -06:00
Cody Russell
2158f59263
Add gtk-doc section for GtkOffscreenWindow
2009-12-28 09:33:42 -06:00
Cody Russell
309e48378e
Add gtk_offscreen_window_get_{pixmap,pixbuf} to gtk.symbols
2009-12-28 09:33:42 -06:00
Cody Russell
06a53cc482
Add gtkoffscreenwindow.sgml
2009-12-28 09:33:42 -06:00
Cody Russell
1c92a54983
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
2009-12-28 09:33:42 -06:00
Cody Russell
5e76656a65
Add headers
2009-12-28 09:33:42 -06:00
Cody Russell
2cd2e03721
Add offscreen window symbols to gtk.symbols
2009-12-28 09:33:41 -06:00
Cody Russell
7fed174194
Add gtk_offscreen_window_new() prototype to gtkoffscreenwindow.h
2009-12-28 09:33:41 -06:00
Cody Russell
8801d163a6
Add delete-event callback to window, use gtk_widget_queue_draw() instead of gtk_widget_draw()
2009-12-28 09:33:41 -06:00
Cody Russell
8a523393ac
GtkOffscreenWindow implementation for #604901
2009-12-28 09:33:41 -06:00
Jorge González
74b8191f55
Updated Spanish translation
2009-12-28 02:09:35 +01:00
Kristian Rietveld
b2b70e5a8d
Start using NSInteger and NSUInteger
...
These have been introduced in Leopard and default to int and unsigned int.
In 64-bit Snow Leopard they are long and unsigned long. This caused issues
with the getRectsBeingDrawn message which needs a pointer to a NSInteger
(long on 64-bit!) but we passed in an integer. Surprisingly this problem
was visible when compiling with -O0 (segfault), but *not* when compiling
with -O1. Other messages were NSInteger is now needed have also been
adapted.
Since NSInteger and NSUInteger are not available on Tiger, a define
has been added to add typedefs for these when they have not been defined
by the system headers.
2009-12-27 19:28:56 +01:00
Ivar Smolin
9d1e7b2146
Updating Estonian translation
2009-12-27 00:54:40 +02:00
Iestyn Pryce
07e8e4bc23
Updated Welsh translation
2009-12-24 23:47:44 +00:00
Iestyn Pryce
da3f12b965
Updated Welsh translation
2009-12-24 23:45:52 +00:00
Kristian Rietveld
acb6f4ff33
Fix call to update_prelight()
...
Seems like some minus signs sneaked in while diffing and reapplying...
Fixes regression noted in 480065.
2009-12-23 08:33:10 +01:00
Theppitak Karoonboonyanan
270dc0b582
Updated Thai translation.
2009-12-23 13:32:51 +07:00