]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoMake GtkDrawingArea use GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 01:26:24 +0000 (02:26 +0100)]
Make GtkDrawingArea use GtkStyleContext

13 years agoGtkExpander: remove unneeded call
Carlos Garnacho [Tue, 4 Jan 2011 01:24:38 +0000 (02:24 +0100)]
GtkExpander: remove unneeded call

13 years agoRemove unneeded/deprecated call from size requisition code
Carlos Garnacho [Tue, 4 Jan 2011 01:23:23 +0000 (02:23 +0100)]
Remove unneeded/deprecated call from size requisition code

13 years agoGtkToolItem: Remove unneeded call
Carlos Garnacho [Tue, 4 Jan 2011 01:22:01 +0000 (02:22 +0100)]
GtkToolItem: Remove unneeded call

13 years agoMake GtkDialog use ::style-updated
Carlos Garnacho [Tue, 4 Jan 2011 01:20:21 +0000 (02:20 +0100)]
Make GtkDialog use ::style-updated

13 years agoMake GtkCellView use GtkStateFlags
Carlos Garnacho [Tue, 4 Jan 2011 01:19:29 +0000 (02:19 +0100)]
Make GtkCellView use GtkStateFlags

13 years agoMake GtkTooltip use GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 01:18:51 +0000 (02:18 +0100)]
Make GtkTooltip use GtkStyleContext

13 years agoMake GtkWin32EmbedWidget use GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 01:13:01 +0000 (02:13 +0100)]
Make GtkWin32EmbedWidget use GtkStyleContext

13 years agoMake GtkPlug use GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 01:12:11 +0000 (02:12 +0100)]
Make GtkPlug use GtkStyleContext

13 years agoMake GtkRecentChooser use GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 01:11:12 +0000 (02:11 +0100)]
Make GtkRecentChooser use GtkStyleContext

13 years agoGtkSeparatorToolItem: remove unneeded call
Carlos Garnacho [Tue, 4 Jan 2011 01:10:09 +0000 (02:10 +0100)]
GtkSeparatorToolItem: remove unneeded call

13 years agoMake GtkSocket use GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 01:09:11 +0000 (02:09 +0100)]
Make GtkSocket use GtkStyleContext

13 years agoGtkSwitch: remove deprecated call.
Carlos Garnacho [Tue, 4 Jan 2011 01:08:02 +0000 (02:08 +0100)]
GtkSwitch: remove deprecated call.

13 years agoGtkToolbar: remove deprecated call
Carlos Garnacho [Tue, 4 Jan 2011 01:07:06 +0000 (02:07 +0100)]
GtkToolbar: remove deprecated call

13 years agoMake GtkToolButton use ::style-updated
Carlos Garnacho [Tue, 4 Jan 2011 01:06:32 +0000 (02:06 +0100)]
Make GtkToolButton use ::style-updated

13 years agoUpdate GtkTrayIcon to GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 01:04:37 +0000 (02:04 +0100)]
Update GtkTrayIcon to GtkStyleContext

13 years agoCompress all ::style-updated prior to ::realize
Carlos Garnacho [Tue, 4 Jan 2011 00:59:23 +0000 (01:59 +0100)]
Compress all ::style-updated prior to ::realize

This is done to avoid early emission of this signal, that was
causing warnings during GtkDialog construction.

13 years agoUpdate GtkAssistant to GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 00:57:50 +0000 (01:57 +0100)]
Update GtkAssistant to GtkStyleContext

13 years agoUpdate GtkAboutDialog to GtkStyleContext
Carlos Garnacho [Tue, 4 Jan 2011 00:12:10 +0000 (01:12 +0100)]
Update GtkAboutDialog to GtkStyleContext

13 years agoUpdate GtkToolPalette to GtkStyleContext.
Carlos Garnacho [Mon, 3 Jan 2011 22:21:46 +0000 (23:21 +0100)]
Update GtkToolPalette to GtkStyleContext.

13 years agoGtkWindow: remove unneeded call
Carlos Garnacho [Mon, 3 Jan 2011 22:18:54 +0000 (23:18 +0100)]
GtkWindow: remove unneeded call

gtk_widget_style_attach() is no longer necessary.

13 years agogtkenums: add GTK_STATE_FLAG_NORMAL = 0
Diego Escalante Urrelo [Mon, 3 Jan 2011 20:53:45 +0000 (15:53 -0500)]
gtkenums: add GTK_STATE_FLAG_NORMAL = 0

Allows a more readable omission of GtkStateFlag arguments.

Bug #638608

13 years agoUse AM_V_GEN in a few more places
Matthias Clasen [Tue, 4 Jan 2011 01:33:36 +0000 (20:33 -0500)]
Use AM_V_GEN in a few more places

Based on a patch by Javier Jardón in

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

13 years agoKeep an explicit dep on cairo in the gdk pc file
Matthias Clasen [Mon, 3 Jan 2011 23:12:54 +0000 (18:12 -0500)]
Keep an explicit dep on cairo in the gdk pc file

13 years agoGtkColorButton: trivial doc and formatting fixes
Matthias Clasen [Mon, 3 Jan 2011 22:18:43 +0000 (17:18 -0500)]
GtkColorButton: trivial doc and formatting fixes

13 years agogtktexttag: Move public members to private header
Javier Jardón [Thu, 23 Dec 2010 19:03:06 +0000 (20:03 +0100)]
gtktexttag: Move public members to private header

And fix gail to not poke at GtkTextTag internals

13 years agoRelease GtkApplication earlier
Matthias Clasen [Mon, 3 Jan 2011 18:11:55 +0000 (13:11 -0500)]
Release GtkApplication earlier

GtkWindow was only releasing the application in finalize, causing
problems for language bindings. Now we release it already in destroy
(and then again in finalize for good measure).

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

13 years agoScale down print dialog size
Frederic Crozat [Mon, 3 Jan 2011 17:51:22 +0000 (12:51 -0500)]
Scale down print dialog size

Shrink the preview display a little to make the print dialog
fit on a typical netbook screen.

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

13 years agoMake styleexamples work
Matthias Clasen [Mon, 3 Jan 2011 17:34:23 +0000 (12:34 -0500)]
Make styleexamples work

If we are keeping this code in source control, might as well
make it work.

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

13 years agoadd gtk_selection_data_get_data_with_length API which can be bound
Matthias Clasen [Mon, 3 Jan 2011 17:11:41 +0000 (12:11 -0500)]
add gtk_selection_data_get_data_with_length API which can be bound

* gtk_selection_data_get_data can't be bound because we need to know the length
  of data inorder to marshal it

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

13 years agogdk/x11: don't select RANDR events if the extension is missing
Julien Cristau [Thu, 23 Dec 2010 12:50:13 +0000 (13:50 +0100)]
gdk/x11: don't select RANDR events if the extension is missing

Prevents an Xlib warning on Xnest, or Xorg with xinerama, or other
non-RANDR-capable xserver.  Reintroduce a have_randr12 field in
GdkDisplayX11 to avoid having to call XRRQuery{Extension,Version} twice,
and don't select randr 1.2 events if that's false.

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

Signed-off-by: Julien Cristau <jcristau@debian.org>
13 years agoconfigure.ac: Consolidate gdk backend specific checks and code
Kristian Høgsberg [Mon, 3 Jan 2011 16:29:25 +0000 (11:29 -0500)]
configure.ac: Consolidate gdk backend specific checks and code

Only the big chunk of x11 checks is left further down in the file,
but that depends on variables and checks above it, so we'll leave that in
place for now.

13 years agoSilence automake warnings
Kristian Høgsberg [Mon, 3 Jan 2011 15:55:23 +0000 (10:55 -0500)]
Silence automake warnings

When commenting out a binary, also comment out the related variables.
Don't include Makefile.decl in gtk-doc Makefile.am's as they disagree
on assigning to EXTRA_DIST.

13 years agoconfigure.ac: Support multiple GDK backends in one build
Kristian Høgsberg [Mon, 3 Jan 2011 15:45:37 +0000 (10:45 -0500)]
configure.ac: Support multiple GDK backends in one build

13 years agogdk: Simplify code
Benjamin Otte [Mon, 3 Jan 2011 16:42:35 +0000 (17:42 +0100)]
gdk: Simplify code

Move a previous vfunc into the only caller.

13 years agogdk: Get rid of GdkDisplayDeviceHooks
Benjamin Otte [Mon, 3 Jan 2011 16:31:54 +0000 (17:31 +0100)]
gdk: Get rid of GdkDisplayDeviceHooks

Move the only user to call the function directly and copy the called
function over.

13 years agogdk: Move get_device_state out of the display hooks
Benjamin Otte [Mon, 3 Jan 2011 16:16:20 +0000 (17:16 +0100)]
gdk: Move get_device_state out of the display hooks

Previous callers now use _gdk_device_query_state() directly.

13 years agogdk: Simplify code
Benjamin Otte [Mon, 3 Jan 2011 16:01:36 +0000 (17:01 +0100)]
gdk: Simplify code

Fold the previous vfunc into the only caller.

13 years agogdk: Move window_get_device_position function out of the device hooks
Benjamin Otte [Mon, 3 Jan 2011 15:56:20 +0000 (16:56 +0100)]
gdk: Move window_get_device_position function out of the device hooks

13 years agoSome configure.ac cleanups
Matthias Clasen [Mon, 3 Jan 2011 16:27:19 +0000 (11:27 -0500)]
Some configure.ac cleanups

Change from --with-xinput to --enable-xinput, and consistently
use AC_HELP_STRING. Also document the packagekit options in the
docs.

13 years agoAPI: gdk: Remove gdk_display_set_device_hooks()
Benjamin Otte [Mon, 3 Jan 2011 15:49:13 +0000 (16:49 +0100)]
API: gdk: Remove gdk_display_set_device_hooks()

There's no usecase for them, so remove them before we have to commit to
keeping an API.

Make the hooks private for now, actually removing them will come in
followup patches.

13 years agoAPI: gdk: Remove gdk_display_set_pointer_hooks()
Benjamin Otte [Mon, 3 Jan 2011 15:34:48 +0000 (16:34 +0100)]
API: gdk: Remove gdk_display_set_pointer_hooks()

Its usecase was GERD - http://testbit.eu/~timj/historic/gerd/ - and that
project is long since dead.

I couldn't find any app using it after asking around and googling either.

13 years agoAPI: gdk: Remove gdk_set_pointer_hooks()
Benjamin Otte [Mon, 3 Jan 2011 15:05:16 +0000 (16:05 +0100)]
API: gdk: Remove gdk_set_pointer_hooks()

Its usecase was GERD - http://testbit.eu/~timj/historic/gerd/ - and that
project is long since dead.

It has been superseded in GTK 2.2 by GdkDisplayPointerHooks anyway.

13 years agocups: Someone can neither type, read compiler output and run tests.
Benjamin Otte [Mon, 3 Jan 2011 15:16:02 +0000 (16:16 +0100)]
cups: Someone can neither type, read compiler output and run tests.

Being able to do one of these would have caught this.

13 years agocups printbackend: create a pdf surface when appropriate
Matthias Clasen [Mon, 3 Jan 2011 14:34:04 +0000 (09:34 -0500)]
cups printbackend: create a pdf surface when appropriate

This should address bug 560177.
Based on a patch by Adrian Johnson.

13 years agoRemove gtk_printer_new from gtkprintbackend.h
Matthias Clasen [Mon, 3 Jan 2011 13:02:41 +0000 (08:02 -0500)]
Remove gtk_printer_new from gtkprintbackend.h

The function has been in gtkprinter.h forever.

13 years agoSet file GtkPrinter accepts_pdf/ps based on selected format
Adrian Johnson [Wed, 29 Dec 2010 05:34:49 +0000 (16:04 +1030)]
Set file GtkPrinter accepts_pdf/ps based on selected format

13 years agoSet "accepts-pdf" property to true only if supported by the print backend
Adrian Johnson [Tue, 28 Dec 2010 14:48:02 +0000 (01:18 +1030)]
Set "accepts-pdf" property to true only if supported by the print backend

13 years agoGtkRadioButton: Use "radio" style class instead of "check"
Carlos Garcia Campos [Mon, 3 Jan 2011 12:09:00 +0000 (13:09 +0100)]
GtkRadioButton: Use "radio" style class instead of "check"

13 years agoDrop no-longer-used migration docs
Matthias Clasen [Mon, 3 Jan 2011 04:57:03 +0000 (23:57 -0500)]
Drop no-longer-used migration docs

13 years agogdkdnd-x11.c: fix building without HAVE_XCOMPOSITE
Nguyễn Thái Ngọc Duy [Tue, 28 Dec 2010 03:20:11 +0000 (10:20 +0700)]
gdkdnd-x11.c: fix building without HAVE_XCOMPOSITE

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
13 years agogdkcursor-x11.c: fix building without HAVE_XCURSOR
Nguyễn Thái Ngọc Duy [Tue, 28 Dec 2010 03:19:52 +0000 (10:19 +0700)]
gdkcursor-x11.c: fix building without HAVE_XCURSOR

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
13 years agoMove GtkSpinButton docs inline
Matthias Clasen [Mon, 3 Jan 2011 04:30:02 +0000 (23:30 -0500)]
Move GtkSpinButton docs inline

...and modernize the examples at the same time.

This fixes a problem pointed out in bug 638193.

13 years agoFix list handling in gdk_x1_display_init_input
Matthias Clasen [Mon, 3 Jan 2011 02:40:49 +0000 (21:40 -0500)]
Fix list handling in gdk_x1_display_init_input

Pointed out in bug 638386.

13 years agoUpdated Norwegian bokmål translation from Torstein Adolf Winterseth
Kjartan Maraas [Sun, 2 Jan 2011 18:32:29 +0000 (19:32 +0100)]
Updated Norwegian bokmål translation from Torstein Adolf Winterseth

13 years agoUpdated Norwegian bokmål translation from Torstein Adolf Winterseth
Kjartan Maraas [Sun, 2 Jan 2011 18:31:56 +0000 (19:31 +0100)]
Updated Norwegian bokmål translation from Torstein Adolf Winterseth

13 years agoFix refresh of static autorelease_pool so that it doesn't happen in gtk-nested loops.
John Ralls [Sun, 2 Jan 2011 18:23:20 +0000 (10:23 -0800)]
Fix refresh of static autorelease_pool so that it doesn't happen in gtk-nested loops.

13 years agoc99ism: declaration in the mid of a block
Hans Breuer [Sun, 2 Jan 2011 11:36:16 +0000 (12:36 +0100)]
c99ism: declaration in the mid of a block

13 years agowin32: disable gdk_display_get_default ()->core_pointer
Hans Breuer [Sun, 2 Jan 2011 11:18:33 +0000 (12:18 +0100)]
win32: disable gdk_display_get_default ()->core_pointer

I neither know how to trigger this code nor what would be
the suggested replacement API. BUt it's the last thing stopping
me to compile GTK3 for win32.

13 years agowin32: include gtkprivate.h for win32 GTK_DATA_PREFIX
Hans Breuer [Sun, 2 Jan 2011 11:11:34 +0000 (12:11 +0100)]
win32: include gtkprivate.h for win32 GTK_DATA_PREFIX

13 years agoAvoid C99 sinf()
Hans Breuer [Sun, 2 Jan 2011 11:10:00 +0000 (12:10 +0100)]
Avoid C99 sinf()

13 years agowin32: use GtkSocketPrivate
Hans Breuer [Sun, 2 Jan 2011 11:07:47 +0000 (12:07 +0100)]
win32: use GtkSocketPrivate

13 years agowin32: ported backend specific code to now backend specific API
Hans Breuer [Sun, 2 Jan 2011 11:06:38 +0000 (12:06 +0100)]
win32: ported backend specific code to now backend specific API

13 years agoProtect Unix specific print functions with G_OS_UNIX
Hans Breuer [Sun, 2 Jan 2011 11:03:27 +0000 (12:03 +0100)]
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.

13 years agowin32: update msvc build
Hans Breuer [Sun, 2 Jan 2011 11:00:44 +0000 (12:00 +0100)]
win32: update msvc build

13 years agowin32: gdk3 resurrection
Hans Breuer [Sun, 2 Jan 2011 10:51:25 +0000 (11:51 +0100)]
win32: gdk3 resurrection

There are sure regressions but basic stuff seems to be working
again after all the API breakage done with comments like
"Win32 and Quartz need to be ported still."

13 years agoProtect inclusion of unistd.h
Hans Breuer [Sun, 2 Jan 2011 12:29:23 +0000 (13:29 +0100)]
Protect inclusion of unistd.h

13 years agoFix line endings
Hans Breuer [Sun, 2 Jan 2011 12:05:46 +0000 (13:05 +0100)]
Fix line endings

The unix version had CrLf which results in modified by checkout
under windows.

13 years agoUpdated Swedish translation
Daniel Nylander [Fri, 31 Dec 2010 00:42:34 +0000 (01:42 +0100)]
Updated Swedish translation

13 years agoUpdated Swedish translation
Daniel Nylander [Thu, 30 Dec 2010 20:15:44 +0000 (21:15 +0100)]
Updated Swedish translation

13 years agoUpdated Spanish translation
Jorge González [Wed, 29 Dec 2010 21:51:20 +0000 (22:51 +0100)]
Updated Spanish translation

13 years agoSolved bug 638231 in Galician translations
Fran Diéguez [Wed, 29 Dec 2010 12:05:44 +0000 (13:05 +0100)]
Solved bug 638231 in Galician translations

13 years agoMake GtkCheckButton's label left aligned by default.
Tristan Van Berkom [Wed, 29 Dec 2010 09:20:32 +0000 (18:20 +0900)]
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.

13 years agoFixed unused variable in GtkCheckButton.
Tristan Van Berkom [Wed, 29 Dec 2010 07:30:38 +0000 (16:30 +0900)]
Fixed unused variable in GtkCheckButton.

13 years agoFixed generic height-for-width implementation of GtkBin to consider request adjustments
Tristan Van Berkom [Wed, 29 Dec 2010 07:26:05 +0000 (16:26 +0900)]
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.

13 years agoMake GtkCheckButton allocate all remaining space to it's child instead
Tristan Van Berkom [Wed, 29 Dec 2010 07:19:48 +0000 (16:19 +0900)]
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.

13 years agoAdded proper height-for-width implementation to GtkAlignment.
Tristan Van Berkom [Wed, 29 Dec 2010 07:18:04 +0000 (16:18 +0900)]
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.

13 years agoRemoved checks in gtksizerequest.c
Tristan Van Berkom [Wed, 29 Dec 2010 07:12:11 +0000 (16:12 +0900)]
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.

13 years agoMake GtkToolbar use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 18:03:46 +0000 (19:03 +0100)]
Make GtkToolbar use GtkStyleContext

13 years agoMake GtkHandleBox use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 18:02:40 +0000 (19:02 +0100)]
Make GtkHandleBox use GtkStyleContext

13 years agoMake GtkSwitch use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 17:59:45 +0000 (18:59 +0100)]
Make GtkSwitch use GtkStyleContext

13 years agoMake GtkFileChooserEntry make GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 16:51:46 +0000 (17:51 +0100)]
Make GtkFileChooserEntry make GtkStyleContext

13 years agoMake GtkProgressBar use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 16:42:27 +0000 (17:42 +0100)]
Make GtkProgressBar use GtkStyleContext

13 years agoMake GtkScrolledWindow use GtkStyleContext
Carlos Garnacho [Tue, 28 Dec 2010 16:41:48 +0000 (17:41 +0100)]
Make GtkScrolledWindow use GtkStyleContext

13 years agoMake GtkEventBox use GtkStyleContext.
Carlos Garnacho [Tue, 28 Dec 2010 16:39:08 +0000 (17:39 +0100)]
Make GtkEventBox use GtkStyleContext.

13 years agoMake GtkFrame use GtkStyleContext.
Carlos Garnacho [Tue, 28 Dec 2010 16:37:22 +0000 (17:37 +0100)]
Make GtkFrame use GtkStyleContext.

13 years agoFix leak in GtkStyle.
Carlos Garnacho [Sat, 25 Dec 2010 10:59:56 +0000 (11:59 +0100)]
Fix leak in GtkStyle.

13 years agoAvoid rendering frames when shadow type argument is GTK_SHADOW_NONE in
Tristan Van Berkom [Tue, 28 Dec 2010 14:15:39 +0000 (23:15 +0900)]
Avoid rendering frames when shadow type argument is GTK_SHADOW_NONE in
gtk_paint_* functions.

13 years agoFix docs.
Ignacio Casal Quinteiro [Mon, 27 Dec 2010 23:03:29 +0000 (00:03 +0100)]
Fix docs.

13 years agoRemove bashisms from configure.ac
Matthias Clasen [Tue, 28 Dec 2010 00:24:05 +0000 (19:24 -0500)]
Remove bashisms from configure.ac

Pointed out by Koop Mast in
https://bugzilla.gnome.org/show_bug.cgi?id=637974

13 years agoAPI: gdk: Remove gdk_device_set_source()
Benjamin Otte [Mon, 27 Dec 2010 19:08:50 +0000 (20:08 +0100)]
API: gdk: Remove gdk_device_set_source()

The source of a device is not changeable.

13 years agotestgtk: Don't use deprecated APIs
Benjamin Otte [Mon, 27 Dec 2010 18:43:24 +0000 (19:43 +0100)]
testgtk: Don't use deprecated APIs

13 years agotestgtk: Use the relevant device to query the widget to snapshot
Benjamin Otte [Mon, 27 Dec 2010 18:27:16 +0000 (19:27 +0100)]
testgtk: Use the relevant device to query the widget to snapshot

Also gets rid of deprecated functions.

13 years agoAPI: gdk: Make gdk_display_get_window_at_device_position() a device API
Benjamin Otte [Mon, 27 Dec 2010 17:45:39 +0000 (18:45 +0100)]
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.

13 years agoAPI: gdk: gdk_display_get_device_state() => gdk_device_get_position()
Benjamin Otte [Mon, 27 Dec 2010 17:03:38 +0000 (18:03 +0100)]
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.

13 years ago[gail] Clean the code to check the redundan object on the show watcher
Alejandro Piñeiro [Sat, 25 Dec 2010 23:43:02 +0000 (00:43 +0100)]
[gail] Clean the code to check the redundan object on the show watcher

The watcher doesn't add a window if is a redundant object. This
patch fixes two things:

 * The check was made twice.
 * It uses a check with the string "redundant object", when the
   defined role ATK_ROLE_REDUNDANT_OBJECT is available

13 years ago[gail] Proper connection to a toplevel window destroy signal
Alejandro Piñeiro [Sat, 25 Dec 2010 23:13:07 +0000 (00:13 +0100)]
[gail] Proper connection to a toplevel window destroy signal

Only connect to the destroy of a toplevel window if it was
really added to the toplevel list of windows.

The destroy callback was added to remove the window from
the toplevel list. The callback doesn't cause a error,
but would iterate on the toplevel list without success.

13 years agoFix some issues with initial setup of GdkX11DisplayManager
Matthias Clasen [Mon, 27 Dec 2010 06:02:52 +0000 (01:02 -0500)]
Fix some issues with initial setup of GdkX11DisplayManager

We need to defer setting the default display until the
GdkDisplay is fully initialized. Also, short-circuit some
encoding conversions when creating windows, to avoid an
implicit dependency on the display being in the list of
displays yet.

13 years agoGtkTreeView: Don't use deprecated grab api
Matthias Clasen [Mon, 27 Dec 2010 04:40:59 +0000 (23:40 -0500)]
GtkTreeView: Don't use deprecated grab api

13 years agoRemove pointless sealing from GtkTextMark
Matthias Clasen [Mon, 27 Dec 2010 04:17:10 +0000 (23:17 -0500)]
Remove pointless sealing from GtkTextMark