]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoGtkButton: Small documentation improvements
Murray Cumming [Mon, 13 Feb 2012 08:15:03 +0000 (09:15 +0100)]
GtkButton: Small documentation improvements

12 years agoa11y: Mark cells as defunct when deleting them
Benjamin Otte [Sun, 12 Feb 2012 15:44:21 +0000 (16:44 +0100)]
a11y: Mark cells as defunct when deleting them

Just unreffing isn't enough, atk-bridge might have a reference to the
object still.

12 years agoPlug a small memory leak
Matthias Clasen [Sat, 11 Feb 2012 18:05:32 +0000 (13:05 -0500)]
Plug a small memory leak

12 years agoa11y: Redo ref_accessible_at_point()
Benjamin Otte [Sat, 11 Feb 2012 04:01:34 +0000 (05:01 +0100)]
a11y: Redo ref_accessible_at_point()

use direct access to the RBTree instead of fiddling with the path.

Removes the lat caller of get_index() and with it count_rows(), so those
are gone now.

12 years agotests: Reenable a11y tree-relationships test
Benjamin Otte [Sat, 11 Feb 2012 03:46:43 +0000 (04:46 +0100)]
tests: Reenable a11y tree-relationships test

It passes now.

12 years agoa11y: create focus cell accessibles when they get focused
Benjamin Otte [Sat, 11 Feb 2012 03:43:15 +0000 (04:43 +0100)]
a11y: create focus cell accessibles when they get focused

12 years agoa11y: Split out cell creation function
Benjamin Otte [Sat, 11 Feb 2012 03:36:40 +0000 (04:36 +0100)]
a11y: Split out cell creation function

12 years agoa11y: Set relations without tree path
Benjamin Otte [Sat, 11 Feb 2012 03:13:04 +0000 (04:13 +0100)]
a11y: Set relations without tree path

We can directly use at the rbtree's parent.

12 years agoa11y: Remove unused variable
Benjamin Otte [Sat, 11 Feb 2012 02:42:14 +0000 (03:42 +0100)]
a11y: Remove unused variable

12 years agoa11y: Keep treeview accessibles around
Benjamin Otte [Sat, 11 Feb 2012 02:37:25 +0000 (03:37 +0100)]
a11y: Keep treeview accessibles around

Refcounting behavior kinda requires that we track of accessibles until
the row goes away. This is necessary for reference handling and for some
assumptions that atk-bridge does.

12 years agoa11y: Remove old treeview focus tracking code
Benjamin Otte [Sat, 11 Feb 2012 02:14:22 +0000 (03:14 +0100)]
a11y: Remove old treeview focus tracking code

12 years agoa11y: Emit focus change events when focus cell changes
Benjamin Otte [Sat, 11 Feb 2012 02:00:04 +0000 (03:00 +0100)]
a11y: Emit focus change events when focus cell changes

12 years agotreeview: Add internal get_cursor_node() API
Benjamin Otte [Sat, 11 Feb 2012 01:54:11 +0000 (02:54 +0100)]
treeview: Add internal get_cursor_node() API

12 years agoa11y: Update treeview focused status
Benjamin Otte [Sat, 11 Feb 2012 01:50:26 +0000 (02:50 +0100)]
a11y: Update treeview focused status

... when the cursor row changes. Also emit active-descendant-changed.

12 years agotreeview: Add private get_focus_column() API
Benjamin Otte [Sat, 11 Feb 2012 01:49:12 +0000 (02:49 +0100)]
treeview: Add private get_focus_column() API

12 years agotreeview: Notify accessible about focus changes
Benjamin Otte [Sat, 11 Feb 2012 01:38:48 +0000 (02:38 +0100)]
treeview: Notify accessible about focus changes

12 years agotreeview: Tell accessible about focus column changes
Benjamin Otte [Sat, 11 Feb 2012 00:59:19 +0000 (01:59 +0100)]
treeview: Tell accessible about focus column changes

12 years agodocs: Add documentation for alpha() in CSS
Sebastian Keller [Fri, 10 Feb 2012 22:55:18 +0000 (23:55 +0100)]
docs: Add documentation for alpha() in CSS

12 years agoGtkNotebook: emit child-notify::position a few more times
Claudio Saavedra [Tue, 7 Feb 2012 16:02:15 +0000 (18:02 +0200)]
GtkNotebook: emit child-notify::position a few more times

When moving a page around, all children changing their position
need to be notified.

There are still other places where proper notification is missing
(drag 'n drop, etc.)

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

12 years agoaccessible: Unset widget on dispose, not finalize
Benjamin Otte [Fri, 10 Feb 2012 12:21:06 +0000 (13:21 +0100)]
accessible: Unset widget on dispose, not finalize

Unsetting the widget causes events to get emitted and we want to
(a) really emit that event to our signal handlers
(b) still be recognized as a real GObject while doing that

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

12 years agoreftests: Add a test for misrendering of transparent windows
Benjamin Otte [Thu, 9 Feb 2012 12:45:31 +0000 (13:45 +0100)]
reftests: Add a test for misrendering of transparent windows

If a widget with a GDK window is set to be transparent in the CSS, it
gets drawn as black instead. This test checks that the fix works.

12 years agowidget factory: link against gdkpixbuf
Ryan Lortie [Thu, 9 Feb 2012 22:52:21 +0000 (17:52 -0500)]
widget factory: link against gdkpixbuf

Otherwise we fail to link, seeing this:

/usr/bin/ld: gtk3_widget_factory-widget-factory.o: undefined reference
to symbol 'gdk_pixbuf_new_from_resource'

12 years agox11: Cancel _NET_WM_MOVERESIZE if we get a matching ButtonRelease
Rui Matos [Wed, 1 Feb 2012 17:59:23 +0000 (17:59 +0000)]
x11: Cancel _NET_WM_MOVERESIZE if we get a matching ButtonRelease

This implements the following part of the EWMH spec:

"The special value _NET_WM_MOVERESIZE_CANCEL also allows clients to cancel the
operation by sending such message if they detect the release themselves
(clients should send it if they get the button release after sending the move
resize message, indicating that the WM did not get a grab in time to get the
release)."

In particular, it fixes the case of clicking widgets that use
gdk_window_begin_[resize|move]_drag*() and the click "sticking", i.e. the
mouse button getting released but the resize or move operation remaining in
effect.

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

12 years agoRemove all default css and make Raleigh a pure fallback theme
Alexander Larsson [Thu, 9 Feb 2012 22:16:03 +0000 (23:16 +0100)]
Remove all default css and make Raleigh a pure fallback theme

It was problematic to maintain Raleigh going forward, as any
changes in it affected all themes. Also, its more robust if
each theme is a full standalone css rather than relying on
an inherited css base.

So, this changes Raleigh to a standalone theme that we can tweak
without accidentally breaking other themes, and makes the
default theme empty. In fact, we don't even add the default
provider anymore as its always empty.

12 years agoUpdated POTFILES.skip
Piotr Drąg [Thu, 9 Feb 2012 20:32:56 +0000 (21:32 +0100)]
Updated POTFILES.skip

12 years agoFix transparency handling with non-double-buffered drawing
Alexander Larsson [Thu, 9 Feb 2012 20:09:44 +0000 (21:09 +0100)]
Fix transparency handling with non-double-buffered drawing

Sometimes we need to read back the window content into our double
buffer due to rendering a window with alpha when there is
no implicit paint or it has been flushed due to non-db drawing
before.

However, in this case we can't use gdk_cairo_set_source_window as
it might trigger an implicit paint flush as we detect what we
think is a direct non-double buffered window draw operation, which
will flush the implicit paint operation that we're just setting up.

To fix this we use the raw gdk_window_ref_impl_surface operation
to get the source surface.

12 years agoFix non-double-buffered drawing
Alexander Larsson [Thu, 9 Feb 2012 20:05:35 +0000 (21:05 +0100)]
Fix non-double-buffered drawing

There was a sign issue in a coordinate transform that made us
flush the wrong region when flushing an implicit paint.
The non-double buffered drawing would then be drawn over the
right area, but then at the end of the implicit paint this
would be overdrawn with the area we didn't properly remove
from the implicit paint.

Also, the translation from window coords to impl window
coords is now done before removing any active double
buffered paints, as these are also in impl window coords.

12 years agowin32: Don't crash when installed in a top-level directory
Kalev Lember [Thu, 9 Feb 2012 13:12:22 +0000 (15:12 +0200)]
win32: Don't crash when installed in a top-level directory

Avoid NULL-pointer dereference when package installation directory
doesn't contain any slashes.

Reported by Paweł Forysiuk.

12 years agoMake the default background for GdkWindows transparent
Alexander Larsson [Thu, 9 Feb 2012 15:38:54 +0000 (16:38 +0100)]
Make the default background for GdkWindows transparent

With the changes in default CSS to make the default background transparent
we ran into issues where intermediate GdkWindow (for instance the
view_window in GtkViewport) where we didn't set an explicit background
(because before they were always covered). So instead of showing throught
the transparent windows were showing the default backgroind of the intermediate
window (i.e. black).

With this change we also needed to fix GtkViewport, as it was previously
relying on the bin and view windows to cover widget->window so that the
border was not visible if shadow_type was NONE.

12 years agoviewport: Set frame styleclass when getting border size during size allocation
Alexander Larsson [Thu, 9 Feb 2012 15:36:46 +0000 (16:36 +0100)]
viewport: Set frame styleclass when getting border size during size allocation

Without this you don't get the right border/padding for widget->window
and the border shows up under the scrolled contents.

12 years agoSet BUILT_SOURCES
Matthias Clasen [Thu, 9 Feb 2012 14:10:50 +0000 (09:10 -0500)]
Set BUILT_SOURCES

12 years agowidget-factory: add the logo
Matthias Clasen [Thu, 9 Feb 2012 14:06:18 +0000 (09:06 -0500)]
widget-factory: add the logo

12 years agoMove widget-factory to demos/
Matthias Clasen [Thu, 9 Feb 2012 13:45:40 +0000 (08:45 -0500)]
Move widget-factory to demos/

Lets install this, for the benefit of artists everywhere.

12 years agogtk-demo: Use preprocessing for resources
Matthias Clasen [Thu, 9 Feb 2012 13:05:47 +0000 (08:05 -0500)]
gtk-demo: Use preprocessing for resources

Strip blanks from ui files, and convert pngs into pixdata.
This is useful and serves as a test of these preprocessing
options at the same time.

12 years agogtk-demo: Use gdk-pixbuf resource api
Matthias Clasen [Thu, 9 Feb 2012 12:59:57 +0000 (07:59 -0500)]
gtk-demo: Use gdk-pixbuf resource api

This is nicer than manual stream manipulation.

12 years agowidget-factory: add an about dialog
Matthias Clasen [Thu, 9 Feb 2012 12:57:11 +0000 (07:57 -0500)]
widget-factory: add an about dialog

This is a first step towards making widget-factory an installed
demo.

12 years ago[l10n] Updated Kazakh translation
Baurzhan Muftakhidinov [Thu, 9 Feb 2012 09:09:30 +0000 (15:09 +0600)]
[l10n] Updated Kazakh translation

12 years agoAvoid a C99ism
Matthias Clasen [Wed, 8 Feb 2012 12:26:25 +0000 (07:26 -0500)]
Avoid a C99ism

Move variable declarations to the beginning of the block.
https://bugzilla.gnome.org/show_bug.cgi?id=669511

12 years agogtkbuilder-menus: translation-domain can be NULL
Diego Escalante Urrelo [Wed, 8 Feb 2012 08:32:07 +0000 (03:32 -0500)]
gtkbuilder-menus: translation-domain can be NULL

GtkBuilder defaults its translation-domain to NULL, which is a perfectly
fine value for d_gettext() and friends.

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

12 years agogtkactiongroup: clarify set_translation_domain docs
Diego Escalante Urrelo [Wed, 8 Feb 2012 08:27:39 +0000 (03:27 -0500)]
gtkactiongroup: clarify set_translation_domain docs

NULL is an actual useful value for
gtk_action_group_set_translation_domain, but this information is buried
in g_dgettext() documentation.

Be extra redundant, to make it obvious that NULL is ok.

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

12 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Wed, 8 Feb 2012 08:59:07 +0000 (10:59 +0200)]
[l10n] Updated Estonian translation

12 years agoBump version
Matthias Clasen [Mon, 6 Feb 2012 22:32:46 +0000 (17:32 -0500)]
Bump version

12 years ago3.3.14
Matthias Clasen [Mon, 6 Feb 2012 21:38:47 +0000 (16:38 -0500)]
3.3.14

12 years agoAdapt expected output
Matthias Clasen [Mon, 6 Feb 2012 21:11:27 +0000 (16:11 -0500)]
Adapt expected output

A recent string change in GtkAboutDialog needs to be reflected
here.

12 years agotests: Remove untrue assertion
Benjamin Otte [Mon, 6 Feb 2012 20:49:17 +0000 (21:49 +0100)]
tests: Remove untrue assertion

Even if something is not at the top, things might still not be scrolled.
For example in the case where things are exactly at the center.

12 years agotests: Don't test something we can't test
Benjamin Otte [Mon, 6 Feb 2012 20:24:59 +0000 (21:24 +0100)]
tests: Don't test something we can't test

When using GtkTreeStore, don't compute row positions assuming
everything's a list store, which is how get_row_start_for_index() works.

So instead, do a laxer check and don't insist on proper alignment.

12 years agotests: Remove unused argument from treeview-scrolling test
Benjamin Otte [Mon, 6 Feb 2012 20:21:09 +0000 (21:21 +0100)]
tests: Remove unused argument from treeview-scrolling test

12 years agoWork around a drawing problem with small notebooks
Matthias Clasen [Mon, 6 Feb 2012 20:50:40 +0000 (15:50 -0500)]
Work around a drawing problem with small notebooks

12 years agoMore resetting
Matthias Clasen [Mon, 6 Feb 2012 20:43:47 +0000 (15:43 -0500)]
More resetting

12 years agoUse larger screen for tests
Matthias Clasen [Mon, 6 Feb 2012 20:09:24 +0000 (15:09 -0500)]
Use larger screen for tests

We used to run Xvfb with 800x600, which turns out to be too small
for some of our reftests. Bump it to 1024x768.

12 years agoFix declarations-valid-15 css parser test
Matthias Clasen [Mon, 6 Feb 2012 19:20:20 +0000 (14:20 -0500)]
Fix declarations-valid-15 css parser test

12 years agoreftests: Fix background-origin reftest for all themes
Benjamin Otte [Mon, 6 Feb 2012 19:42:04 +0000 (20:42 +0100)]
reftests: Fix background-origin reftest for all themes

We want to @import reset-to-defaults.css here.

12 years agotests: Fix height checks in treeview scrolling test
Benjamin Otte [Mon, 6 Feb 2012 18:50:11 +0000 (19:50 +0100)]
tests: Fix height checks in treeview scrolling test

If things get centered in the scrolling area depens on the height of the
row, too.

12 years agotests: Fix assertion emission
Benjamin Otte [Mon, 6 Feb 2012 18:27:45 +0000 (19:27 +0100)]
tests: Fix assertion emission

We want to assert() when doing the actual check, not do some
  g_assert (testing_failed());

12 years agoFix declarations-valid-14 css parser test
Matthias Clasen [Mon, 6 Feb 2012 19:06:20 +0000 (14:06 -0500)]
Fix declarations-valid-14 css parser test

12 years agoUpdates
Matthias Clasen [Mon, 6 Feb 2012 03:36:40 +0000 (22:36 -0500)]
Updates

12 years agoFix leak when parsing image urls
Alexander Larsson [Mon, 6 Feb 2012 14:06:29 +0000 (15:06 +0100)]
Fix leak when parsing image urls

12 years agoUpdated Telugu Translations
Swecha Localization Team [Mon, 6 Feb 2012 12:00:09 +0000 (17:30 +0530)]
Updated Telugu Translations

12 years agoAdd bloatpad to POTFILES.skip
Piotr Drąg [Mon, 6 Feb 2012 01:38:25 +0000 (02:38 +0100)]
Add bloatpad to POTFILES.skip

It doesn't break the build yet, but it will once intltool is fixed to accept translatable='yes'

12 years agoMark strings as translable in bloatpad
Matthias Clasen [Mon, 6 Feb 2012 00:12:41 +0000 (19:12 -0500)]
Mark strings as translable in bloatpad

We don't have any intention of actually translating bloatpad,
but this ends up as example in the docs.

12 years agoBump requirements of glib and gdk-pixbuf
Matthias Clasen [Sun, 5 Feb 2012 22:55:51 +0000 (17:55 -0500)]
Bump requirements of glib and gdk-pixbuf

12 years agoUpdated Galician translations
Fran Diéguez [Sun, 5 Feb 2012 22:45:17 +0000 (23:45 +0100)]
Updated Galician translations

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 4 Feb 2012 11:31:58 +0000 (12:31 +0100)]
Updated Norwegian bokmål translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Fri, 3 Feb 2012 17:06:49 +0000 (18:06 +0100)]
Updated Spanish translation

12 years agoaboutdialog: add a \n in the copyright text
Ignacio Casal Quinteiro [Fri, 3 Feb 2012 16:13:38 +0000 (17:13 +0100)]
aboutdialog: add a \n in the copyright text

12 years agoFix crash with theme resource file
Alexander Larsson [Fri, 3 Feb 2012 15:37:54 +0000 (16:37 +0100)]
Fix crash with theme resource file

The freeing the GResource in gtk_css_provider_reset caused problems
because it was called from gtk_css_provider_load_from_path() inside
gtk_css_provider_get_named(). We fix this by delaying the
setting of priv->resource until we successfully loaded the file.

12 years agoRemove accidental leftover spew
Alexander Larsson [Fri, 3 Feb 2012 15:27:32 +0000 (16:27 +0100)]
Remove accidental leftover spew

12 years agocss: Remove any loaded resource in gtk_css_provider_reset
Alexander Larsson [Fri, 3 Feb 2012 15:01:51 +0000 (16:01 +0100)]
css: Remove any loaded resource in gtk_css_provider_reset

12 years agoSpecial case resource pixbuf files loading
Alexander Larsson [Fri, 3 Feb 2012 14:51:55 +0000 (15:51 +0100)]
Special case resource pixbuf files loading

This means we can share the pixbuf data when using GdkPixdata
images in the resource.

12 years agoSupport a gtk.gresource file in themes
Alexander Larsson [Fri, 3 Feb 2012 14:50:49 +0000 (15:50 +0100)]
Support a gtk.gresource file in themes

This lets themes install a .gresource for efficient loading
of resources. This resource file will (if it exists) be automatically
loaded (mmaped) when the theme is used and unloaded when not used.

12 years agoUpdated POTFILES.skip
Piotr Drąg [Thu, 2 Feb 2012 16:25:40 +0000 (17:25 +0100)]
Updated POTFILES.skip

12 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 2 Feb 2012 11:13:29 +0000 (12:13 +0100)]
Updated Spanish translation

12 years agoreftests: Improve 'unresolvable' test
Benjamin Otte [Thu, 2 Feb 2012 02:11:55 +0000 (03:11 +0100)]
reftests: Improve 'unresolvable' test

Include reset-to-defaults here, too

12 years agoreftests: Fix css-match-exact
Benjamin Otte [Thu, 2 Feb 2012 01:58:59 +0000 (02:58 +0100)]
reftests: Fix css-match-exact

Ensure that background-colors are always set. And import
reset-to-defaults so that there's no background image or so.

12 years agoreftests: Fix entry-progress-coloring test
Benjamin Otte [Thu, 2 Feb 2012 01:55:45 +0000 (02:55 +0100)]
reftests: Fix entry-progress-coloring test

Use reset-to-defaults here.

12 years agoreftests: Add another background-size test
Benjamin Otte [Thu, 2 Feb 2012 01:55:05 +0000 (02:55 +0100)]
reftests: Add another background-size test

This one tests the keywords for the background-size property

12 years agocss: Implement padding as numbers
Benjamin Otte [Tue, 24 Jan 2012 16:49:29 +0000 (17:49 +0100)]
css: Implement padding as numbers

Also remove the now unused border parsing function for shorthands.

12 years agoreftests: Fix border-image-url reftest
Benjamin Otte [Tue, 17 Jan 2012 16:30:26 +0000 (17:30 +0100)]
reftests: Fix border-image-url reftest

"border-style: none;" sets border widths to 0. So no border was drawn.
Use "border-style: groove" instead. (If the border was drawn that way,
it'd look noticably different.)

Also include reset-to-defaults.css so we really get default CSS.

12 years agotests: Add 'px' to css tests
Benjamin Otte [Tue, 17 Jan 2012 16:12:32 +0000 (17:12 +0100)]
tests: Add 'px' to css tests

12 years agoreftests: Add 'px' to all properties
Benjamin Otte [Tue, 17 Jan 2012 16:09:30 +0000 (17:09 +0100)]
reftests: Add 'px' to all properties

12 years agoreftests: Make test runner always use image surfaces
Benjamin Otte [Tue, 17 Jan 2012 16:06:09 +0000 (17:06 +0100)]
reftests: Make test runner always use image surfaces

See comment in code for why.

12 years agocss: Port margin properties to GtkCssNumber
Benjamin Otte [Tue, 17 Jan 2012 15:41:14 +0000 (16:41 +0100)]
css: Port margin properties to GtkCssNumber

12 years agoreftests: Add reftest for background-size
Benjamin Otte [Tue, 17 Jan 2012 15:13:57 +0000 (16:13 +0100)]
reftests: Add reftest for background-size

12 years agoreftests: Put border-image-repeat test back
Benjamin Otte [Wed, 18 Jan 2012 16:12:51 +0000 (17:12 +0100)]
reftests: Put border-image-repeat test back

This reverts commit 001d42f36955dd31f81e2e01a7b4dbb980a68b41.

Because now that we have background-size support, we can use it to make
stuff work!

12 years agoreftests: set style properties to 0 in reset-to-defaults
Benjamin Otte [Tue, 17 Jan 2012 15:10:23 +0000 (16:10 +0100)]
reftests: set style properties to 0 in reset-to-defaults

GtkButton doesn't conform to CSS with these properties.
Bad GtkButton!

12 years agothemingbackground: Implement background-size support
Benjamin Otte [Tue, 17 Jan 2012 15:09:35 +0000 (16:09 +0100)]
themingbackground: Implement background-size support

12 years agotests: Add parsing test for background-size
Benjamin Otte [Tue, 17 Jan 2012 14:15:34 +0000 (15:15 +0100)]
tests: Add parsing test for background-size

12 years agocss: Implement parsing for 'background-size'
Benjamin Otte [Tue, 17 Jan 2012 14:11:48 +0000 (15:11 +0100)]
css: Implement parsing for 'background-size'

12 years agoreftests: Add a bunch of linear gradient tests
Benjamin Otte [Tue, 17 Jan 2012 11:14:50 +0000 (12:14 +0100)]
reftests: Add a bunch of linear gradient tests

12 years agotests: Add parsing tests for linear gradients
Benjamin Otte [Tue, 17 Jan 2012 10:53:38 +0000 (11:53 +0100)]
tests: Add parsing tests for linear gradients

12 years agocss: Implement repeating linear gradients
Benjamin Otte [Tue, 17 Jan 2012 10:44:07 +0000 (11:44 +0100)]
css: Implement repeating linear gradients

12 years agocss: Implement CSS 3 linear-gradient() syntax
Benjamin Otte [Mon, 16 Jan 2012 17:28:58 +0000 (18:28 +0100)]
css: Implement CSS 3 linear-gradient() syntax

12 years agotests: Update CSS tests for borders
Benjamin Otte [Sun, 15 Jan 2012 18:47:38 +0000 (19:47 +0100)]
tests: Update CSS tests for borders

Borders now expect 'px'.

12 years agocss: Implement support for angles
Benjamin Otte [Sun, 15 Jan 2012 16:51:58 +0000 (17:51 +0100)]
css: Implement support for angles

12 years agocss: Convert border-radius to GtkCssNumber
Benjamin Otte [Sun, 15 Jan 2012 05:26:08 +0000 (06:26 +0100)]
css: Convert border-radius to GtkCssNumber

We can do % now, wohoo!

12 years agothemingengine: Add a private function to query lengths
Benjamin Otte [Sun, 15 Jan 2012 04:29:02 +0000 (05:29 +0100)]
themingengine: Add a private function to query lengths

12 years agocss: Make border-width a length property
Benjamin Otte [Sun, 15 Jan 2012 01:53:39 +0000 (02:53 +0100)]
css: Make border-width a length property

12 years agocss: Add a check function for specified types
Benjamin Otte [Sun, 15 Jan 2012 01:30:26 +0000 (02:30 +0100)]
css: Add a check function for specified types

... and use it.

It seems kinda necessary for the refactoring I'm about to do...

12 years agocss: Ensure proper type for parsing custom properties
Benjamin Otte [Sun, 15 Jan 2012 01:29:00 +0000 (02:29 +0100)]
css: Ensure proper type for parsing custom properties

12 years agocss: Add GtkCssNumber
Benjamin Otte [Fri, 13 Jan 2012 22:48:42 +0000 (23:48 +0100)]
css: Add GtkCssNumber