]> Pileus Git - ~andy/gtk/log
~andy/gtk
14 years agoAllow getting the printer's hard margins
Christian Persch [Wed, 6 Feb 2008 22:58:47 +0000 (23:58 +0100)]
Allow getting the printer's hard margins

Adds a way to get the unprintable area of the printer. Bug #468989.

14 years agoBump version
Matthias Clasen [Mon, 30 Nov 2009 23:36:56 +0000 (18:36 -0500)]
Bump version

14 years ago2.19.1
Matthias Clasen [Mon, 30 Nov 2009 22:23:48 +0000 (17:23 -0500)]
2.19.1

14 years agoAnother make dist fix
Matthias Clasen [Mon, 30 Nov 2009 21:53:50 +0000 (16:53 -0500)]
Another make dist fix

14 years agoCorrected typo in GtkIconTheme documentation
Pablo Castellano [Mon, 30 Nov 2009 21:40:35 +0000 (22:40 +0100)]
Corrected typo in GtkIconTheme documentation

14 years agoAnother update
Matthias Clasen [Mon, 30 Nov 2009 21:15:43 +0000 (16:15 -0500)]
Another update

14 years agoDoc fixes
Matthias Clasen [Mon, 30 Nov 2009 21:13:59 +0000 (16:13 -0500)]
Doc fixes

14 years agoMore updates
Matthias Clasen [Mon, 30 Nov 2009 21:05:35 +0000 (16:05 -0500)]
More updates

14 years ago[gdk-pixbuf] Use G_STRLOC instead __LINE__
Javier Jardón [Wed, 21 Oct 2009 21:29:01 +0000 (23:29 +0200)]
[gdk-pixbuf] Use G_STRLOC instead __LINE__

14 years agoAdd a release note about statusbar internal hierarchy changes
Matthias Clasen [Mon, 30 Nov 2009 19:06:57 +0000 (14:06 -0500)]
Add a release note about statusbar internal hierarchy changes

14 years agoAnother make check fix
Matthias Clasen [Mon, 30 Nov 2009 18:50:39 +0000 (13:50 -0500)]
Another make check fix

14 years agoMake dist fixes
Matthias Clasen [Mon, 30 Nov 2009 18:10:08 +0000 (13:10 -0500)]
Make dist fixes

14 years agoImplement "compression" option in the TIFF pixbuf loader
Christian Dywan [Mon, 30 Nov 2009 12:55:12 +0000 (13:55 +0100)]
Implement "compression" option in the TIFF pixbuf loader

This enables applications to read out the compression of a TIFF image
and also makes it possible to apply the same or a different
compression when saving.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=584700
14 years agoFallback to gtk_show_uri for print preview if the command fails
Christian Dywan [Mon, 30 Nov 2009 12:20:43 +0000 (13:20 +0100)]
Fallback to gtk_show_uri for print preview if the command fails

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=601682
14 years agoMention exact property names in notebook tab packing deprecation
Christian Dywan [Mon, 30 Nov 2009 11:55:29 +0000 (12:55 +0100)]
Mention exact property names in notebook tab packing deprecation

Follow-up for bug 596083.

14 years ago[gdk/directfb] Made dfb_events_dispatch() thread save
Javier Jardón [Mon, 30 Nov 2009 05:01:43 +0000 (06:01 +0100)]
[gdk/directfb] Made dfb_events_dispatch() thread save

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

14 years agoWhitespace fixes
Matthias Clasen [Mon, 30 Nov 2009 00:48:16 +0000 (19:48 -0500)]
Whitespace fixes

14 years agoUse a url label instead of a link button
Matthias Clasen [Mon, 30 Nov 2009 00:00:28 +0000 (19:00 -0500)]
Use a url label instead of a link button

This looks nicer, and allows us to make the url-hook work again
for the website url. Fixes bug 603201.

14 years agoTrivial doc typo fix
Matthias Clasen [Mon, 30 Nov 2009 00:00:10 +0000 (19:00 -0500)]
Trivial doc typo fix

14 years agoAvoid a harmless warning
Matthias Clasen [Sun, 29 Nov 2009 22:17:26 +0000 (17:17 -0500)]
Avoid a harmless warning

In labels with colored, underlined text, the link handling code
would spit out a warning, even if no links are around.
See 603302.

14 years agoUpdated Spanish translation
Jorge González [Sun, 29 Nov 2009 11:24:10 +0000 (12:24 +0100)]
Updated Spanish translation

14 years agoAllow holding compose key while entering a sequence
Matthias Clasen [Sun, 29 Nov 2009 02:47:36 +0000 (21:47 -0500)]
Allow holding compose key while entering a sequence

This broke when we started allowing Super, Hyper and Meta as
accel modifiers. See bug 601959.

14 years agoMake the toolbar-style and toolbar-size settings work
Matthias Clasen [Sun, 29 Nov 2009 02:43:59 +0000 (21:43 -0500)]
Make the toolbar-style and toolbar-size settings work

This broke when moving the setting from gtktoolbar.c to gtksettings.c.
Spotted by Christian Persch in bug 603271.

14 years agoFix small documentation problems after the toolpalette merge
Matthias Clasen [Sun, 29 Nov 2009 01:59:56 +0000 (20:59 -0500)]
Fix small documentation problems after the toolpalette merge

Several Since tags were wrong. Spotted by Christian Persch in
bug 603268.

14 years agoPosition new ui nodes correctly when existing dirty dead nodes exist
Alexander Larsson [Sun, 29 Nov 2009 01:49:37 +0000 (20:49 -0500)]
Position new ui nodes correctly when existing dirty dead nodes exist

If you add a new ui node that was recently removed it will still be
in the tree, but marked dirty. In this case we previously just used
the old node, which meant it wouldn't get the same position as if
the dirty nodes had been processed first (and deleted) before the
new node was added.

We handle this by detecting this case and reposition the node as if
it was new.

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

14 years agoBug 601869 - GtkUIManager assumes too much about popup menus
Matthew Barnes [Sun, 29 Nov 2009 01:00:07 +0000 (20:00 -0500)]
Bug 601869 - GtkUIManager assumes too much about popup menus

Check that the child of a popup menu item is actually a GtkAccelLabel
before setting its "accel-closure" property.

14 years agoMake the action widgets internal children of GtkNotebook
Christian Persch [Tue, 10 Nov 2009 14:40:29 +0000 (15:40 +0100)]
Make the action widgets internal children of GtkNotebook

So they're not included in the result of gtk_container_foreach() which
preserves it as a convenient way to get the list of all notebook content
widgets.

Bug #601409.

14 years agoRework a broken workaround for a Java bug
Matthias Clasen [Sat, 28 Nov 2009 15:27:32 +0000 (10:27 -0500)]
Rework a broken workaround for a Java bug

This was committed to fix bug 568263, but it is not correct, as
pointed out in 601611.

14 years agoUpdated Low German translation
Nils-Christoph Fiedler [Sat, 28 Nov 2009 12:37:49 +0000 (13:37 +0100)]
Updated Low German translation

14 years agoUpdated Low German translation
Nils-Christoph Fiedler [Sat, 28 Nov 2009 12:36:06 +0000 (13:36 +0100)]
Updated Low German translation

14 years agoUpdated Low German translation
Nils-Christoph Fiedler [Sat, 28 Nov 2009 12:30:13 +0000 (13:30 +0100)]
Updated Low German translation

14 years agoUpdated Spanish translation
Jorge González [Sat, 28 Nov 2009 09:53:59 +0000 (10:53 +0100)]
Updated Spanish translation

14 years agoImprove docs of two style properties
Matthias Clasen [Sat, 28 Nov 2009 07:17:40 +0000 (02:17 -0500)]
Improve docs of two style properties

See discussion in bug 561334. Based on a patch by Paul Bolle.

14 years agoHandle reparenting out of a socket
Matthias Clasen [Sat, 28 Nov 2009 04:44:01 +0000 (23:44 -0500)]
Handle reparenting out of a socket

Although it isnt' allowed by the XEMBED protocol, its possible
that the plug window will be reparented out of the socket without
the socket having done so. See bug 123569. Patch by David Jander.

14 years agoMove documentation to inline comments: GtkStock
Javier Jardón [Sun, 8 Nov 2009 06:04:37 +0000 (07:04 +0100)]
Move documentation to inline comments: GtkStock

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

14 years agoAllocate a large-enough and mask
Matthias Clasen [Sat, 28 Nov 2009 01:57:59 +0000 (20:57 -0500)]
Allocate a large-enough and mask

We came up short when the image width is not a multiple of 8.
Bug 585383, fix by Felix Riemann.

14 years agoAdd a missing include
Matthias Clasen [Fri, 27 Nov 2009 23:44:31 +0000 (18:44 -0500)]
Add a missing include

memset() is used in gdk/x11/gdkinput-xfree.c but string.h is not included.
Patch by Vincent Untz, bug 597026.

14 years agoMove documentation from templates to inline comments: GtkWidget
Javier Jardón [Sat, 28 Nov 2009 01:59:06 +0000 (02:59 +0100)]
Move documentation from templates to inline comments: GtkWidget

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

14 years agoBe a bit more forgiving about invalid monitor number
Matthias Clasen [Fri, 27 Nov 2009 23:39:15 +0000 (18:39 -0500)]
Be a bit more forgiving about invalid monitor number

By moving the g_return_if_fail() checks into individual monitor functions.
See bug 561130.

14 years agoShort-circuit get_frame_extents for override-redirect windows
Matthias Clasen [Fri, 27 Nov 2009 23:17:33 +0000 (18:17 -0500)]
Short-circuit get_frame_extents for override-redirect windows

There's no reason to do our expensive round-trips for an override-redirect
window; just use local information. See bug 581145. Patch by Owen Taylor.

14 years agoImplement gail_image_get_image_size for storage GICON and ICON_NAME
Christian Persch [Mon, 23 Nov 2009 13:09:55 +0000 (14:09 +0100)]
Implement gail_image_get_image_size for storage GICON and ICON_NAME

Bug #602724.

14 years agoAdd UI manager attribute to always show image in menu items
Christian Persch [Wed, 11 Nov 2009 17:59:12 +0000 (18:59 +0100)]
Add UI manager attribute to always show image in menu items

Add always-show-image="true|false" attribute to <menuitem> element in UI
manager markup. If present, it overrides the always-show-image property
on image menu items. Bug #589842.

14 years agoAdd gtk_action_[sg]et_always_show_image()
Christian Persch [Sun, 16 Aug 2009 20:57:49 +0000 (22:57 +0200)]
Add gtk_action_[sg]et_always_show_image()

Add a way to tell a GtkAction to have its menu item proxies always show
their image. Bug #589842.

14 years agoAdd missing single-include guards
Michael Natterer [Fri, 27 Nov 2009 14:58:13 +0000 (15:58 +0100)]
Add missing single-include guards

14 years agoBug 596473 - Second double-click of GtkTreeView row doesn't emit...
Kristian Rietveld [Fri, 27 Nov 2009 12:40:30 +0000 (13:40 +0100)]
Bug 596473 - Second double-click of GtkTreeView row doesn't emit...

Rework double click handling in GtkTreeView.  We cannot blindly use
the 2BUTTON_PRESS and 3BUTTON_PRESS events.  In case a user does two
fast double clicks, we receive a 3BUTTON_PRESS and BUTTON_PRESS.  We
cannot easily deduce two double clicks from this.

We have removed the bookkeeping using row references of the last paths
clicked.  Instead we monitor event time, (x, y) coordinates and compare
against double-click-time and double-click-distance ourselves.

14 years agoBug 480065 - wrong tree collapsed (or expanded) after having scrolled
Kristian Rietveld [Thu, 26 Nov 2009 20:05:01 +0000 (21:05 +0100)]
Bug 480065 -  wrong tree collapsed (or expanded) after having scrolled

Store (x, y) of last motion event.  From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated.  We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander.  This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.

14 years agoLogically re-group fields in GtkTreePrivate structure
Kristian Rietveld [Thu, 26 Nov 2009 19:31:29 +0000 (20:31 +0100)]
Logically re-group fields in GtkTreePrivate structure

This should now cause much less of a headache than before.  Fields have
been properly reordered, each group has been given a comment.  Since the
GtkTreePrivate structure is private (as the name says), this should not
have any effect on ABI.

14 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 27 Nov 2009 12:38:19 +0000 (13:38 +0100)]
Updated Slovenian translation

14 years agoUpdates
Matthias Clasen [Fri, 27 Nov 2009 07:11:08 +0000 (02:11 -0500)]
Updates

14 years agoAdd customary args to gtk_style_paint_spinner()
Matthias Clasen [Fri, 27 Nov 2009 06:23:55 +0000 (01:23 -0500)]
Add customary args to gtk_style_paint_spinner()

...and adjust all callers.

14 years agoRemove duplicate entries
Matthias Clasen [Fri, 27 Nov 2009 05:47:03 +0000 (00:47 -0500)]
Remove duplicate entries

14 years agoFix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:46:18 +0000 (00:46 -0500)]
Fix a doc comment

14 years agoFix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:45:22 +0000 (00:45 -0500)]
Fix a doc comment

14 years agoFix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:43:51 +0000 (00:43 -0500)]
Fix a doc comment

14 years agoRemove duplicate doc comments.
Matthias Clasen [Fri, 27 Nov 2009 05:42:54 +0000 (00:42 -0500)]
Remove duplicate doc comments.

These can only serve to confuse gtk-doc.

14 years agoFix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:39:26 +0000 (00:39 -0500)]
Fix a doc comment

14 years agoUn-doc-commentify a comment
Matthias Clasen [Fri, 27 Nov 2009 05:37:20 +0000 (00:37 -0500)]
Un-doc-commentify a comment

14 years agoFix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:37:03 +0000 (00:37 -0500)]
Fix a doc comment

14 years agoUpdate debug flag information
Matthias Clasen [Fri, 27 Nov 2009 05:32:14 +0000 (00:32 -0500)]
Update debug flag information

14 years agoAdjust default value for GtkToolItemGroup::label
Matthias Clasen [Fri, 27 Nov 2009 05:14:37 +0000 (00:14 -0500)]
Adjust default value for GtkToolItemGroup::label

14 years agoExclude GtkToolItemGroup::label-widget from default value test
Matthias Clasen [Fri, 27 Nov 2009 05:11:59 +0000 (00:11 -0500)]
Exclude GtkToolItemGroup::label-widget from default value test

14 years agoMerge branch 'master' into toolpalette
Matthias Clasen [Fri, 27 Nov 2009 04:54:55 +0000 (23:54 -0500)]
Merge branch 'master' into toolpalette

14 years agoFix up docs, and set up the aliasing machinery
Matthias Clasen [Fri, 27 Nov 2009 04:52:20 +0000 (23:52 -0500)]
Fix up docs, and set up the aliasing machinery

14 years agoSome cleanups for the toolpalette demo
Matthias Clasen [Fri, 27 Nov 2009 00:41:38 +0000 (19:41 -0500)]
Some cleanups for the toolpalette demo

14 years agoFix another doc typo
Matthias Clasen [Thu, 26 Nov 2009 23:56:25 +0000 (18:56 -0500)]
Fix another doc typo

14 years agoUpdated Japanese translation
Nishibori Kiyotaka [Thu, 26 Nov 2009 14:13:38 +0000 (23:13 +0900)]
Updated Japanese translation

14 years agoSet scale_num only once
Matthias Clasen [Thu, 26 Nov 2009 04:39:31 +0000 (23:39 -0500)]
Set scale_num only once

This modifies the previous commit to be according the upstream libjpeg
maintainers recommendations. See bug 588740.

14 years agoRemove misleading text about invisible text
Matthias Clasen [Wed, 25 Nov 2009 22:33:41 +0000 (17:33 -0500)]
Remove misleading text about invisible text

Invisible text has been working reasonably well since 2.8.

14 years agoUpdated LowGerman translation
Nils-Christoph Fiedler [Wed, 25 Nov 2009 17:08:10 +0000 (18:08 +0100)]
Updated LowGerman translation

14 years agoMake level3 keys work again
Matthias Clasen [Wed, 25 Nov 2009 06:02:40 +0000 (01:02 -0500)]
Make level3 keys work again

We were not paying attention to consumed modifiers when adding
virtual modifiers. This fixes RH bug 537567.

14 years agoMake setting the icon-size property on GTK_IMAGE_GICON images work
Christian Persch [Mon, 23 Nov 2009 13:33:08 +0000 (14:33 +0100)]
Make setting the icon-size property on GTK_IMAGE_GICON images work

Bug #602725.

14 years agoUpdating Estonian translation
Ivar Smolin [Sun, 22 Nov 2009 10:20:41 +0000 (12:20 +0200)]
Updating Estonian translation

14 years agotoolpalette: Don't call gdk_window_process_updates() in the animation callback
Johannes Schmid [Wed, 18 Nov 2009 09:38:45 +0000 (10:38 +0100)]
toolpalette: Don't call gdk_window_process_updates() in the animation callback

That does not seem to make any difference.

14 years agotoolpalette: Added dnd code to the gtk-demo
Johannes Schmid [Wed, 18 Nov 2009 09:32:37 +0000 (10:32 +0100)]
toolpalette: Added dnd code to the gtk-demo

14 years agoFix missing documentation for GdkPixbufSimpleAnim.
Matt Arsenault [Sat, 14 Nov 2009 15:08:32 +0000 (10:08 -0500)]
Fix missing documentation for GdkPixbufSimpleAnim.

It wasn't clear it was a GObject.

14 years agoAdded dummy Low German translation
Mario Blättermann [Sun, 15 Nov 2009 16:58:59 +0000 (17:58 +0100)]
Added dummy Low German translation

14 years agoAdded Low German translation
Nils-Christoph Fiedler [Sun, 15 Nov 2009 16:55:27 +0000 (17:55 +0100)]
Added Low German translation

14 years agoDocument how Cocoa coordinate and monitor layout transforms to GDK work
Kristian Rietveld [Sun, 15 Nov 2009 14:29:45 +0000 (15:29 +0100)]
Document how Cocoa coordinate and monitor layout transforms to GDK work

14 years agoBug 601512 - Remove unnecessary check in GtkTreeModelFilter
Alberto Garcia [Wed, 11 Nov 2009 11:14:16 +0000 (12:14 +0100)]
Bug 601512 -  Remove unnecessary check in GtkTreeModelFilter

gtk_tree_model_filter_set_visible_func() is checking for
priv->visible_func, but that is always going to be NULL since there's
no way to call this function twice.

Besides that the code itself is wrong, since it tries to call
priv->visible_destroy without making sure that it's not NULL

14 years agoAwful hack for problem in dnd of images from Firefox on Windows
Tor Lillqvist [Sat, 14 Nov 2009 22:32:14 +0000 (00:32 +0200)]
Awful hack for problem in dnd of images from Firefox on Windows

Bypassed with #if 0 because it is an awful hack and not really
acceptable from a privacy point of view for instance. It prevents
Firefox from deleting temporary files containing images being dragged,
so they stay on disk. Bug #561973.

14 years agoUpdated Galician Translation
Antón Méixome [Fri, 13 Nov 2009 10:27:54 +0000 (11:27 +0100)]
Updated Galician Translation

14 years agoRequire atk 1.29.2 for bug #569430.
Li Yuan [Fri, 13 Nov 2009 04:28:03 +0000 (12:28 +0800)]
Require atk 1.29.2 for bug #569430.

14 years agoImplement gtk_statusbar_get_message_area and "message_area" child
Christian Dywan [Thu, 12 Nov 2009 17:57:37 +0000 (18:57 +0100)]
Implement gtk_statusbar_get_message_area and "message_area" child

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=594535
14 years agoFix typo
Kjartan Maraas [Wed, 11 Nov 2009 20:39:21 +0000 (21:39 +0100)]
Fix typo

14 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Wed, 11 Nov 2009 19:13:39 +0000 (20:13 +0100)]
Updated Norwegian bokmål translation.

14 years ago[gtk/gtkwindow] Added accessor for GTK_WINDOW ()->type
Christian Dywan [Wed, 11 Nov 2009 19:06:52 +0000 (20:06 +0100)]
[gtk/gtkwindow] Added accessor for GTK_WINDOW ()->type

There already is the "type" property, but an accessor
function for it would be intuitive: gtk_window_get_window_type()

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

14 years agoOnly use gdk_input_select_events() if XINPUT_NONE is defined
Javier Jardón [Tue, 10 Nov 2009 20:02:45 +0000 (21:02 +0100)]
Only use gdk_input_select_events() if XINPUT_NONE is defined

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

14 years agoRotate figures on landscape icons in page setup dialog
Marek Kasik [Wed, 11 Nov 2009 13:21:11 +0000 (14:21 +0100)]
Rotate figures on landscape icons in page setup dialog

Rotate figures on landscape and reverse landscape icons
to match output of print (#599402).

14 years agotoolpalette: Fixed inconsistent spacing
Johannes Schmid [Wed, 11 Nov 2009 09:02:36 +0000 (10:02 +0100)]
toolpalette: Fixed inconsistent spacing

14 years agotoolpalette: fixed trailing whitespaces
Johannes Schmid [Wed, 11 Nov 2009 08:42:49 +0000 (09:42 +0100)]
toolpalette: fixed trailing whitespaces

14 years agotoolpalette: Fixed documentation
Johannes Schmid [Wed, 11 Nov 2009 08:37:55 +0000 (09:37 +0100)]
toolpalette: Fixed documentation

14 years agotoolpalette: allow to reset same adjustment
Johannes Schmid [Wed, 11 Nov 2009 08:33:49 +0000 (09:33 +0100)]
toolpalette: allow to reset same adjustment

14 years agotoolpalettte: Fixed some style issues
Johannes Schmid [Wed, 11 Nov 2009 08:32:15 +0000 (09:32 +0100)]
toolpalettte: Fixed some style issues

14 years agotoolpalette: Always show text horizontally
Johannes Schmid [Wed, 11 Nov 2009 08:27:00 +0000 (09:27 +0100)]
toolpalette: Always show text horizontally

14 years agoFix incorrect GtkMovementStep description
Javier Jardón [Tue, 10 Nov 2009 19:37:56 +0000 (20:37 +0100)]
Fix incorrect GtkMovementStep description

Reported by James Campos here:
https://bugzilla.gnome.org/show_bug.cgi?id=601432

14 years agoFix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
Javier Jardón [Tue, 10 Nov 2009 19:26:59 +0000 (20:26 +0100)]
Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro

14 years ago[gdk] Added GDK_GPOINTER_TO_NATIVE_WINDOW() macro
Javier Jardón [Tue, 10 Nov 2009 19:09:18 +0000 (20:09 +0100)]
[gdk] Added GDK_GPOINTER_TO_NATIVE_WINDOW() macro

GdkNativeWindow cast is needed in 64-bit Windows so gpointer data
is converted to a (64-bit) native window handle.
GPOINTER_TO_UINT() is used in other platforms.

14 years agoRevert "Fix compilation warning: Use G_POINTER_TO_UINT"
Tor Lillqvist [Tue, 10 Nov 2009 14:08:23 +0000 (16:08 +0200)]
Revert "Fix compilation warning: Use G_POINTER_TO_UINT"

GPOINTER_TO_UINT() *does* drop the upper 32 bits on 64-bit
Windows. After all, it by definition produces a (32-bit) unsigned int.

The GLib commit mentioned in the reverted commit's log message just
means that it does this without any compiler warning about casting
from pointer to integer of smaller size, as it first casts to a 64-bit
integer, then casts that to a (32-bit) int.

We must use the GdkNativeWindow cast here so that on 64-bit Windows
the gpointer data in embedded_list is converted to a (64-bit) native
window handle without going through 32-bit truncation. If ifdefs are
required to avoid compiler warnings on X11, so be it then. Probably it
would be best to introduce a GDK_GPOINTER_TO_NATIVE_WINDOW() macro in
gdktypes.h.

This reverts commit 78151dc7d41069e876fe165527e68c238ef7fd4a.

14 years agoFix compilation warning: Use a variable to store the return value
Javier Jardón [Mon, 9 Nov 2009 21:39:54 +0000 (22:39 +0100)]
Fix compilation warning: Use a variable to store the return value

14 years agoPorted gtktoolpalette from a custom array to GPtrArray.
Johannes Schmid [Mon, 9 Nov 2009 21:16:15 +0000 (22:16 +0100)]
Ported gtktoolpalette from a custom array to GPtrArray.

...and some mixed fixes of things mentioned in the bug report