]> Pileus Git - ~andy/gtk/log
~andy/gtk
14 years agoAvoid integer overflow in gdk_rectangle_intersect
Alexander Larsson [Fri, 22 Jan 2010 08:34:57 +0000 (09:34 +0100)]
Avoid integer overflow in gdk_rectangle_intersect

If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
the left edge of the rightmost rectangle is large then subtracting these
can lead to an integer overflow, making the resultant "width" falsely
positive, thus returning a very wide result instead of the expected
no-intersection result.

We avoid the overflow by not doing the subtraction unless we know the
result will be positive. There are still risks for overflow if x + width
or y + width is larger than MAXINT, but we won't ever overflow for valid
rects now.

This may fix #607687

14 years agoAdd a way to set wm_class on statusicons
Matthias Clasen [Tue, 19 Jan 2010 18:00:47 +0000 (13:00 -0500)]
Add a way to set wm_class on statusicons

Since the shell uses wm_class for sorting statusicons.

14 years agoWhen native window requests button presses request other button related events
Alexander Larsson [Wed, 20 Jan 2010 14:37:16 +0000 (15:37 +0100)]
When native window requests button presses request other button related events

We need to do this because otherwise the implicit button grab for this
(native) window will not deliver the button events not selected for
by this window. This is a problem because non-native child windows may
select using a wider event mask, and we can't emulate these events if we
don't get the native events.

Fixes bug #607508

14 years agoFix some compilation warnings
Javier Jardón [Tue, 19 Jan 2010 15:57:13 +0000 (16:57 +0100)]
Fix some compilation warnings

The warnings was introduced with the changes in commit
a491091e292cad33c7c040b6deb05acb43aaec5f

14 years agoDrop outstanding cairo surfaces when window is made native
Alexander Larsson [Tue, 19 Jan 2010 15:37:42 +0000 (16:37 +0100)]
Drop outstanding cairo surfaces when window is made native

Any old cairo_surface referencing the old impl window will be wrong
when we make a window native, so drop it.

This fixes bug #599511

14 years agoMove common gdkwindow.c code into function gdk_window_drop_cairo_surface
Alexander Larsson [Tue, 19 Jan 2010 15:36:49 +0000 (16:36 +0100)]
Move common gdkwindow.c code into function gdk_window_drop_cairo_surface

This code is duplicated in several places, and more to come, so put
it all in one place.

14 years agoAdded Burmese translation for gtk+ properties
Russell Kyaw [Tue, 19 Jan 2010 14:35:41 +0000 (16:35 +0200)]
Added Burmese translation for gtk+ properties

14 years agoAdded Burmese translation
Russell Kyaw [Tue, 19 Jan 2010 14:35:04 +0000 (16:35 +0200)]
Added Burmese translation

14 years agoAdded Burmese (my) to po/LINGUAS
Simos Xenitellis [Tue, 19 Jan 2010 14:34:50 +0000 (16:34 +0200)]
Added Burmese (my) to po/LINGUAS

14 years agoTrack direct window cairo access and avoid tricks when used
Alexander Larsson [Tue, 19 Jan 2010 13:44:52 +0000 (14:44 +0100)]
Track direct window cairo access and avoid tricks when used

When a cairo surface is requested for direct window access (i.e. not
when double-buffering) we can't really track when the actual drawing happens
as cairo drawing is not virtualized. This means we can't properly flush
any outstanding window moves or implicit paints.

This actually causes problems with e.g. abiword (bug #606009) where they
draw without double-buffering. If you press down it scrolls the window
and then draws the caret, but the caret drawing does not flush the
outstanding move from the scroll, so the caret gets drawn on the wrong
screen.

We fix this by never allowing either implicit paints or outstanding window
moves on impl-windows where any windows related to it has an outstanding
direct cairo surface. Luckily this is not very common so in practice this
doesn't matter much.

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 19 Jan 2010 10:21:18 +0000 (11:21 +0100)]
Updated Norwegian bokmål translation

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 19 Jan 2010 10:19:55 +0000 (11:19 +0100)]
Updated Norwegian bokmål translation

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 13 Jan 2010 17:38:57 +0000 (18:38 +0100)]
Updated Norwegian bokmål translation

14 years agoGtkToolPalette: Fix a compiler warning introduced in my last commit.
Murray Cumming [Tue, 19 Jan 2010 08:04:15 +0000 (09:04 +0100)]
GtkToolPalette: Fix a compiler warning introduced in my last commit.

14 years agoAdd gtk_widget_has_rc_style() accessor
Javier Jardón [Mon, 18 Jan 2010 16:12:42 +0000 (17:12 +0100)]
Add gtk_widget_has_rc_style() accessor

Add gtk_widget_has_rc_style() as accessor for sealed
GTK_WIDGET_RC_STYLE widget flag.

https://bugzilla.gnome.org/show_bug.cgi?id=69872

14 years agoFix a redraw problem with action widgets
Matthias Clasen [Mon, 18 Jan 2010 19:04:49 +0000 (14:04 -0500)]
Fix a redraw problem with action widgets

Fixes bug 603245.

14 years agoBug 607322 - Double-click doesn't work if the item is selected in...
Kristian Rietveld [Mon, 18 Jan 2010 21:18:25 +0000 (22:18 +0100)]
Bug 607322 -  Double-click doesn't work if the item is selected in...

Slight correction to fix for #596473.

14 years agoGtkToolPalette: Change gtk_tool_palette_get_drop_group() return.
Murray Cumming [Mon, 18 Jan 2010 08:37:14 +0000 (09:37 +0100)]
GtkToolPalette: Change gtk_tool_palette_get_drop_group() return.

* gtk/gtktoolpalette.[h|cc]: gtk_tool_palette_get_drop_group():
  Change the return type from GtkWidget* to GtkToolItemGroup*,
  for consistency with other parts of GTK+, such as GtkToolbar.

14 years agoFix some issues with action widgets
Matthias Clasen [Mon, 18 Jan 2010 06:20:50 +0000 (01:20 -0500)]
Fix some issues with action widgets

We need to hide/show them depending on show_tabs, and we should
not grow the notebooks requisition unless we have to. Reported
in bug 601412.

14 years agoFix declaration of gtk_print_job_set_status
Matthias Clasen [Mon, 18 Jan 2010 04:47:20 +0000 (23:47 -0500)]
Fix declaration of gtk_print_job_set_status

The problem was reported in bug 606698.

14 years agoReset effective_attrs when necessary
Matthias Clasen [Mon, 18 Jan 2010 04:33:19 +0000 (23:33 -0500)]
Reset effective_attrs when necessary

This fixes both bug 607217 and bug 607269.

14 years agoFix a few C99isms
Matthias Clasen [Mon, 18 Jan 2010 03:47:14 +0000 (22:47 -0500)]
Fix a few C99isms

Reported in bug 606761.

14 years agoUpdated Swedish translation
Daniel Nylander [Sat, 16 Jan 2010 12:47:42 +0000 (13:47 +0100)]
Updated Swedish translation

14 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 15 Jan 2010 18:39:32 +0000 (19:39 +0100)]
Updated Slovenian translation

14 years agoAvoid drawing implicit paints to destroyed windows
Alexander Larsson [Fri, 15 Jan 2010 15:06:12 +0000 (16:06 +0100)]
Avoid drawing implicit paints to destroyed windows

It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.

This fixes bug 600865

14 years agoUpdated asturian translation
Xandru Armesto Fernandez [Fri, 15 Jan 2010 12:26:37 +0000 (13:26 +0100)]
Updated asturian translation

14 years agoUpdated asturian translations
Xandru Armesto Fernandez [Fri, 15 Jan 2010 12:21:50 +0000 (13:21 +0100)]
Updated asturian translations

14 years agoUpdated asturian translations
Xandru Armesto Fernandez [Fri, 15 Jan 2010 12:21:40 +0000 (13:21 +0100)]
Updated asturian translations

14 years agoGtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.
Murray Cumming [Thu, 14 Jan 2010 09:26:49 +0000 (10:26 +0100)]
GtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.

See Bug #567729

14 years agoSome fixes in gtkoffscreenwindow.h
Michael Natterer [Wed, 13 Jan 2010 21:23:03 +0000 (22:23 +0100)]
Some fixes in gtkoffscreenwindow.h

- use (void) not () for void functions
- disallow individual inclusion unconditionally

14 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Wed, 13 Jan 2010 16:36:18 +0000 (17:36 +0100)]
Updated Basque language

14 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Wed, 13 Jan 2010 15:32:02 +0000 (16:32 +0100)]
Updated Basque language

14 years ago[docs] Use the correct GTK-doc syntax to refer to GTK+ properties
Javier Jardón [Tue, 12 Jan 2010 20:00:30 +0000 (21:00 +0100)]
[docs] Use the correct GTK-doc syntax to refer to GTK+ properties

14 years agoUpdated Spanish translation
Jorge González [Tue, 12 Jan 2010 19:22:44 +0000 (20:22 +0100)]
Updated Spanish translation

14 years ago[docs] Use the correct GTK-doc syntax to refer to GTK+ property
Javier Jardón [Tue, 12 Jan 2010 19:17:38 +0000 (20:17 +0100)]
[docs] Use the correct GTK-doc syntax to refer to GTK+ property

14 years ago[docs] Remove GTK+ 1.2 tutorial from master
Javier Jardón [Tue, 12 Jan 2010 15:57:00 +0000 (16:57 +0100)]
[docs] Remove GTK+ 1.2 tutorial from master

The tutorial it's still inside the gtk-1-2 branch if It's needed

14 years agoUpdated Arabic translation
Khaled Hosny [Tue, 12 Jan 2010 16:42:26 +0000 (18:42 +0200)]
Updated Arabic translation

14 years ago[docs] Fix documentation build warnings
Javier Jardón [Fri, 18 Dec 2009 02:42:41 +0000 (03:42 +0100)]
[docs] Fix documentation build warnings

Fix issues when using GI annotations so the xslt does a
fallback if the local links do not exist.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604876

14 years agoCorrect PRC6 and PRC9 envelope sizes
Matthias Clasen [Tue, 12 Jan 2010 06:10:13 +0000 (01:10 -0500)]
Correct PRC6 and PRC9 envelope sizes

See bug 603144 for the full story.

14 years agoBump version
Matthias Clasen [Mon, 11 Jan 2010 18:58:16 +0000 (13:58 -0500)]
Bump version

14 years ago2.19.3
Matthias Clasen [Mon, 11 Jan 2010 18:57:21 +0000 (13:57 -0500)]
2.19.3

14 years agoDco updates
Matthias Clasen [Mon, 11 Jan 2010 17:58:34 +0000 (12:58 -0500)]
Dco updates

14 years agoUpdates
Matthias Clasen [Mon, 11 Jan 2010 17:21:10 +0000 (12:21 -0500)]
Updates

14 years agoImplement property editor for GdkColor properties
Christian Persch [Mon, 4 Jan 2010 11:32:54 +0000 (12:32 +0100)]
Implement property editor for GdkColor properties

Bug #606434.

14 years agoLimit GtkContainer::border-width to 65535
Christian Dywan [Mon, 11 Jan 2010 16:37:13 +0000 (17:37 +0100)]
Limit GtkContainer::border-width to 65535

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
14 years agoPlug a pixmap leak
Matthias Clasen [Mon, 11 Jan 2010 15:23:57 +0000 (10:23 -0500)]
Plug a pixmap leak

We were getting our refcounts tangled up when setting drawable clips on
GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.

14 years agoImplement "preedit-changed" in GtkEntry and GtkTextView
Christian Dywan [Mon, 11 Jan 2010 09:59:26 +0000 (10:59 +0100)]
Implement "preedit-changed" in GtkEntry and GtkTextView

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=602284
14 years agoUse const gchar* in gtk_window_get_icon_name implementation
Christian Dywan [Mon, 11 Jan 2010 09:35:06 +0000 (10:35 +0100)]
Use const gchar* in gtk_window_get_icon_name implementation

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100
14 years agoDocument GtkWidget::state-changed signal properly
Christian Dywan [Mon, 11 Jan 2010 09:30:48 +0000 (10:30 +0100)]
Document GtkWidget::state-changed signal properly

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
14 years ago[docs] Add missing "Deprecated: 2.x" to the api doc comments
Javier Jardón [Mon, 11 Jan 2010 05:25:59 +0000 (06:25 +0100)]
[docs] Add missing "Deprecated: 2.x" to the api doc comments

14 years agoUpdated Swedish translation
Daniel Nylander [Sat, 9 Jan 2010 15:59:32 +0000 (16:59 +0100)]
Updated Swedish translation

14 years agoUpdated Swedish translation
Daniel Nylander [Sat, 9 Jan 2010 15:54:54 +0000 (16:54 +0100)]
Updated Swedish translation

14 years agoAllow NULL iter in gtk_combo_box_set_active_iter to unset
Christian Persch [Wed, 6 Jan 2010 17:46:37 +0000 (18:46 +0100)]
Allow NULL iter in gtk_combo_box_set_active_iter to unset

Bug #606230.

14 years agoTry a little harder to survive close to OOM
Matthias Clasen [Fri, 8 Jan 2010 18:22:19 +0000 (13:22 -0500)]
Try a little harder to survive close to OOM

14 years agoAvoid an FPE for ludicrous scale values
Matthias Clasen [Fri, 8 Jan 2010 18:20:28 +0000 (13:20 -0500)]
Avoid an FPE for ludicrous scale values

...just bail out early.

14 years agoUse g_strcmp0() instead custom safe_strcmp()
Javier Jardón [Fri, 8 Jan 2010 16:42:34 +0000 (17:42 +0100)]
Use g_strcmp0() instead custom safe_strcmp()

Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=606415

14 years agoUpdated asturian language
Xandru Armesto Fernandez [Fri, 8 Jan 2010 16:55:32 +0000 (17:55 +0100)]
Updated asturian language

14 years agoFix links in GtkComboBox migration guide
Javier Jardón [Thu, 7 Jan 2010 07:33:08 +0000 (08:33 +0100)]
Fix links in GtkComboBox migration guide

Some link to GTK+ classes are not gererated because the ":" near
the class name; solution: "#GtkComboBox<!---->:"
Also, added some links to the proper signals

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606291

14 years agofix critical in gtk_editable_insert_text
Jean Brefort [Thu, 7 Jan 2010 15:40:49 +0000 (16:40 +0100)]
fix critical in gtk_editable_insert_text

14 years agoDeprecate widget flag: GTK_WIDGET_CAN_FOCUS
Javier Jardón [Mon, 4 Jan 2010 03:56:11 +0000 (04:56 +0100)]
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS

https://bugzilla.gnome.org/show_bug.cgi?id=69872

14 years agoDeprecate some widget flags
Javier Jardón [Mon, 4 Jan 2010 02:07:11 +0000 (03:07 +0100)]
Deprecate some widget flags

Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT

https://bugzilla.gnome.org/show_bug.cgi?id=69872

14 years agoMade couple of translation changes in kn.po
Shankar Prasad [Thu, 7 Jan 2010 08:10:17 +0000 (13:40 +0530)]
Made couple of translation changes in kn.po

14 years agoSetup libjpeg error handlers early enough
Matthias Clasen [Thu, 7 Jan 2010 03:44:16 +0000 (22:44 -0500)]
Setup libjpeg error handlers early enough

See bug 606068 for details.

14 years agoUpdated Spanish translation
Jorge González [Wed, 6 Jan 2010 13:33:14 +0000 (14:33 +0100)]
Updated Spanish translation

14 years agoOne-line fix to a noticiable translation bug.
Timo Jyrinki [Wed, 6 Jan 2010 09:41:07 +0000 (11:41 +0200)]
One-line fix to a noticiable translation bug.

14 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 5 Jan 2010 16:00:15 +0000 (17:00 +0100)]
Updated Slovenian translation

14 years agoUpdate Ukrainian translation
Maxim V. Dziumanenko [Tue, 5 Jan 2010 15:02:41 +0000 (17:02 +0200)]
Update Ukrainian translation

14 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 5 Jan 2010 12:48:13 +0000 (13:48 +0100)]
Updated Norwegian bokmål translation.

14 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 5 Jan 2010 11:54:33 +0000 (12:54 +0100)]
Updated Basque language

14 years agoFix compilation warning: use const *gchar variable
Javier Jardón [Mon, 4 Jan 2010 10:47:40 +0000 (11:47 +0100)]
Fix compilation warning: use const *gchar variable

https://bugzilla.gnome.org/show_bug.cgi?id=605090

14 years agoFix compilation warning: use the correct conversion specifier
Javier Jardón [Mon, 21 Dec 2009 03:01:03 +0000 (04:01 +0100)]
Fix compilation warning: use the correct conversion specifier

Use G_GSIZE_FORMAT instead of %i

The warning was added in
commit ba651d4022ed4dceb6ad7394adcb0ff6c8006581

14 years agoDon't use GTK_WIDGET_NO_WINDOW in GtkEventBox
Christian Dywan [Mon, 4 Jan 2010 07:41:07 +0000 (08:41 +0100)]
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox

14 years agoNo GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_window
Christian Dywan [Mon, 4 Jan 2010 07:39:24 +0000 (08:39 +0100)]
No GTK_WIDGET_NO_WINDOW in GtkFixed and  deprecate gtk_fixed_set_has_window

14 years agoDon't use GTK_WIDGET_NO_WINDOW in GtkContainer
Christian Dywan [Mon, 4 Jan 2010 07:26:50 +0000 (08:26 +0100)]
Don't use GTK_WIDGET_NO_WINDOW in GtkContainer

14 years agoDeprecate flag macros for toplevel, state, no window and composite child
Christian Dywan [Mon, 4 Jan 2010 06:49:26 +0000 (07:49 +0100)]
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
14 years agoFix missing GTK_WIDGET cast on printer option widget in construct_widgets
Christian Dywan [Mon, 4 Jan 2010 06:30:57 +0000 (07:30 +0100)]
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets

14 years agoFix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
Christian Dywan [Mon, 4 Jan 2010 06:29:42 +0000 (07:29 +0100)]
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics

14 years agoDocument missing signal parameter
Benjamin Otte [Sun, 3 Jan 2010 22:11:05 +0000 (23:11 +0100)]
Document missing signal parameter

14 years ago[docs] Add documentation for GdkWindow 'cursor' property
Javier Jardón [Sun, 20 Dec 2009 20:39:42 +0000 (21:39 +0100)]
[docs] Add documentation for GdkWindow 'cursor' property

Reported by Rafal Luzynski here:
https://bugzilla.gnome.org/show_bug.cgi?id=604821

14 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Sun, 3 Jan 2010 15:24:02 +0000 (22:24 +0700)]
Updated Thai translation.

14 years agoUse CAIRO_VERSION instead of CAIRO_VERSION_CODE
Hiroyuki Ikezoe [Sun, 3 Jan 2010 09:22:55 +0000 (18:22 +0900)]
Use CAIRO_VERSION instead of CAIRO_VERSION_CODE

Cairo does not have CAIRO_VERSION_CODE macro.
Fix for bug #605472.

14 years agoMake mnemonic hiding work in all cases
Matthias Clasen [Sun, 3 Jan 2010 05:57:14 +0000 (00:57 -0500)]
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().

14 years agoUpdate dependency information
Matthias Clasen [Sun, 3 Jan 2010 03:20:51 +0000 (22:20 -0500)]
Update dependency information

14 years agoDon't use string concatentation in translated strings
Matthias Clasen [Sun, 3 Jan 2010 01:11:50 +0000 (20:11 -0500)]
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.

14 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 2 Jan 2010 08:59:16 +0000 (09:59 +0100)]
Updated Slovenian translation

14 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 2 Jan 2010 08:59:04 +0000 (09:59 +0100)]
Updated Slovenian translation

14 years agoPlug leaks in quartz implementation of gtk_drag_begin_idle()
Kristian Rietveld [Fri, 1 Jan 2010 19:54:27 +0000 (20:54 +0100)]
Plug leaks in quartz implementation of gtk_drag_begin_idle()

14 years agoRework a previous commit to not crash in addition to fixing leaks
Kristian Rietveld [Fri, 1 Jan 2010 19:39:57 +0000 (20:39 +0100)]
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.

14 years agoGtkToolPalette: docs: Minor English corrections.
Murray Cumming [Thu, 31 Dec 2009 12:55:51 +0000 (13:55 +0100)]
GtkToolPalette: docs: Minor English corrections.

14 years agoMake sure Gdk-2.0.gir is installed
Johan Dahlin [Thu, 31 Dec 2009 00:48:50 +0000 (01:48 +0100)]
Make sure Gdk-2.0.gir is installed

Fixes a variable name typo

14 years agoAvoid warnings when introspetion is not available
Johan Dahlin [Thu, 31 Dec 2009 00:47:24 +0000 (01:47 +0100)]
Avoid warnings when introspetion is not available

-include is the same as include but will never warn if the
file is not available

14 years agoFix build with system install of introspection
Johan Dahlin [Thu, 31 Dec 2009 00:19:13 +0000 (01:19 +0100)]
Fix build with system install of introspection

Or redo it properly and remove previous hack by Matthias.

14 years agoFix compiler warning
Kristian Rietveld [Wed, 30 Dec 2009 13:21:31 +0000 (14:21 +0100)]
Fix compiler warning

14 years agoFix memory management of types array
Kristian Rietveld [Wed, 30 Dec 2009 13:18:33 +0000 (14:18 +0100)]
Fix memory management of types array

Also add autorelease pool to gtk_drag_begin_idle().

14 years agoDo not leak the NSMutableSet
Kristian Rietveld [Wed, 30 Dec 2009 13:16:55 +0000 (14:16 +0100)]
Do not leak the NSMutableSet

14 years agoRelease view after setting it as contentView
Kristian Rietveld [Wed, 30 Dec 2009 13:14:21 +0000 (14:14 +0100)]
Release view after setting it as contentView

Fixes GdkQuartzView being leaked.

14 years agoFix memleak in get_nsscreen_for_point()
Kristian Rietveld [Wed, 30 Dec 2009 13:12:42 +0000 (14:12 +0100)]
Fix memleak in get_nsscreen_for_point()

One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
the code to fix this.

14 years agoFix memory leak in GdkQuartzView
Kristian Rietveld [Wed, 30 Dec 2009 13:11:14 +0000 (14:11 +0100)]
Fix memory leak in GdkQuartzView

Should remove the tracking rect in dealloc.

14 years agoUse CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this
Kristian Rietveld [Mon, 28 Dec 2009 22:01:42 +0000 (23:01 +0100)]
Use CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this

14 years agoUnset expander_column when expander column is removed from tree view
Kristian Rietveld [Mon, 28 Dec 2009 20:34:17 +0000 (21:34 +0100)]
Unset expander_column when expander column is removed from tree view