]> Pileus Git - ~andy/gtk/log
~andy/gtk
11 years agoAdd gtk_widget_get/set_opacity
Alexander Larsson [Wed, 7 Nov 2012 13:32:35 +0000 (14:32 +0100)]
Add gtk_widget_get/set_opacity

This adds gtk_widget_get/set_opacity, as well as a GtkWidget.opacity
property. Additionally it deprectates gtk_window_get/set_opacity and
removes the GtkWindow.opacity property (in preference for the new
identical inherited property from GtkWidget, which should be ABI/API
compat).

The implementation is using the new gdk_window_set_opacity child
window support for windowed widgets, and cairo_push/pop_group()
bracketing in gtk_widget_draw() for non-window widgets.

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

11 years agoAdd gtk_widget_(un)register_window
Alexander Larsson [Tue, 5 Feb 2013 08:36:49 +0000 (09:36 +0100)]
Add gtk_widget_(un)register_window

This replaces the previously hardcoded calls to gdk_window_set_user_data,
and also lets us track which windows are a part of a widget. Old code
should continue working as is, but new features that require the
windows may not work perfectly.

We need this for the transparent widget support to work, as we need
to specially mark the windows of child widgets.

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

11 years agogdkwindow: Allow gdk_window_set_opacity on non-native children
Alexander Larsson [Wed, 7 Nov 2012 12:03:32 +0000 (13:03 +0100)]
gdkwindow: Allow gdk_window_set_opacity on non-native children

We now store the current opacity for all windows. For native windows
we just call into the native implementation whenever the opacity changes.
However, for non-native windows we implement opacity by pushing a
second implicit paint that "stacks" on the existing one, acting as
an opacity group while rendering the window and its children.

This works well in general, although any native child windows will of
course not be opaque. However, there is no way to implement
implicit paint flushing (i.e. draw the currently drawn double buffer
to the window in order to allow direct drawing to the window).
We can't flush in the stacked implicit paint case because there
is no way to get the right drawing behaviour when drawing directly
to the window. We *must* draw to the opacity group to get the right
behaviour.

We currently flush if:
* A widget disables double buffering
* You call move/resize/scroll a window and it has non-native children
  during the expose handler

In case this happens we warn and flush the outermost group, so there may
be drawing errors.

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

11 years agogdkwindow: Store the implicit paint in a list
Alexander Larsson [Wed, 7 Nov 2012 12:01:09 +0000 (13:01 +0100)]
gdkwindow: Store the implicit paint in a list

This changes nothing, but lets us later have multiple
implicit paints

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

11 years agowayland: React to G_IO_ERR and G_IO_HUP on the wayland socket
Rob Bradford [Wed, 6 Feb 2013 18:08:15 +0000 (18:08 +0000)]
wayland: React to G_IO_ERR and G_IO_HUP on the wayland socket

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=692728
11 years agowayland: remove debug message
Thomas Wood [Wed, 6 Feb 2013 10:41:06 +0000 (10:41 +0000)]
wayland: remove debug message

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

11 years agowayland: avoid returning NULL when getting a cursor
Thomas Wood [Tue, 5 Feb 2013 19:11:02 +0000 (19:11 +0000)]
wayland: avoid returning NULL when getting a cursor

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

11 years agowayland: use the GdkCursorType enum information to lookup the cursor name
Thomas Wood [Tue, 5 Feb 2013 19:10:25 +0000 (19:10 +0000)]
wayland: use the GdkCursorType enum information to lookup the cursor name

Use the enum information to generate the cursor name rather than using a
lookup table.

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

11 years agowayland: fix the direction of scrolling
Thomas Wood [Tue, 5 Feb 2013 17:00:10 +0000 (17:00 +0000)]
wayland: fix the direction of scrolling

Fix the direction of scrolling and convert the delta values into the
expected range.

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

11 years agoFix a small typo s/parater/parameter
Marc-André Lureau [Wed, 6 Feb 2013 16:25:50 +0000 (17:25 +0100)]
Fix a small typo s/parater/parameter

11 years agogdkwindow: Do not rely on a previous slave device when updating grab
Rob Bradford [Wed, 23 Jan 2013 16:55:59 +0000 (16:55 +0000)]
gdkwindow: Do not rely on a previous slave device when updating grab

_gdk_display_device_grab_update does not support passing in NULL for the
source device. If we don't have a slave device (saved in the pointer info)
then do not try and use that NULL pointer for the source_device.

This bug appeared in the Wayland backend where we (currently) only have master
devices exposed and as such no slave device is ever saved.

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=692411
11 years agobuild: Bump atk dependency to 2.7.5
Rob Bradford [Tue, 5 Feb 2013 18:36:48 +0000 (18:36 +0000)]
build: Bump atk dependency to 2.7.5

The following patch added a dependency on a new API first available in that
release:

commit 92f0c5c38476687a9a50c31eac4f674a7e0b9c91
Author: Mike Gorse <mgorse@suse.com>
Date:   Mon Dec 3 16:07:23 2012 -0600

    Add accessibility for GtkLevelBar and value test

11 years agowayland: Use g_value_set_static to avoid string copies
Rob Bradford [Tue, 5 Feb 2013 18:28:43 +0000 (18:28 +0000)]
wayland: Use g_value_set_static to avoid string copies

11 years agowayland: Pull the cursor theme name out from the setting for it
Rob Bradford [Tue, 5 Feb 2013 13:08:14 +0000 (13:08 +0000)]
wayland: Pull the cursor theme name out from the setting for it

This avoids us using the default theme and allows us to use a wider range of
cursors.

11 years agowayland: Advertise the cursor theme through GtkSettings as Adwaita
Rob Bradford [Tue, 5 Feb 2013 13:07:28 +0000 (13:07 +0000)]
wayland: Advertise the cursor theme through GtkSettings as Adwaita

... as per the way we advertise a GTK theme to use.

11 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 4 Feb 2013 21:12:57 +0000 (22:12 +0100)]
Updated POTFILES.in

11 years agopost-release bump
Matthias Clasen [Mon, 4 Feb 2013 19:52:14 +0000 (14:52 -0500)]
post-release bump

11 years ago3.7.8
Matthias Clasen [Mon, 4 Feb 2013 19:13:23 +0000 (14:13 -0500)]
3.7.8

11 years agoDrop things that break distcheck
Matthias Clasen [Mon, 4 Feb 2013 18:53:24 +0000 (13:53 -0500)]
Drop things that break distcheck

11 years ago[l10n] Updated Italian translation.
Luca Ferretti [Mon, 4 Feb 2013 17:39:36 +0000 (18:39 +0100)]
[l10n] Updated Italian translation.

11 years agoUpdate expected output again
Matthias Clasen [Mon, 4 Feb 2013 15:50:24 +0000 (10:50 -0500)]
Update expected output again

pickers.ui is just too sensitive to environment, and the … in
the output doesn't help.

11 years agoAvoid deprecation warnings in a11y tests
Matthias Clasen [Mon, 4 Feb 2013 14:27:28 +0000 (09:27 -0500)]
Avoid deprecation warnings in a11y tests

We are testing the deprecated GtkTable here.

11 years agoMore updates
Matthias Clasen [Mon, 4 Feb 2013 13:58:03 +0000 (08:58 -0500)]
More updates

11 years agoFix an sed accident
Matthias Clasen [Mon, 4 Feb 2013 13:31:13 +0000 (08:31 -0500)]
Fix an sed accident

This broke our css parser tests. Yay for tests !

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Mon, 4 Feb 2013 12:28:51 +0000 (20:28 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoUpdate a11y test results to match
Matthias Clasen [Mon, 4 Feb 2013 06:03:37 +0000 (01:03 -0500)]
Update a11y test results to match

Range widgets have lost their action. Update expected output.

11 years agoRemove a no-op AtkAction from GtkRange
Matthias Clasen [Mon, 4 Feb 2013 05:59:14 +0000 (00:59 -0500)]
Remove a no-op AtkAction from GtkRange

The "activate" action here did not do anything.
It is possible we actually want to have some actions here,
like "step-up", "step-down", "page-up", "page-down", etc.
For now, just remove the AtkAction implementation.
https://bugzilla.gnome.org/show_bug.cgi?id=553334

11 years agoUpdate a11y test results to match
Matthias Clasen [Mon, 4 Feb 2013 05:55:43 +0000 (00:55 -0500)]
Update a11y test results to match

The newly added descriptions show up in the accessible
information dumps.

11 years agoImprove AtkAction implementations
Matthias Clasen [Mon, 4 Feb 2013 05:53:48 +0000 (00:53 -0500)]
Improve AtkAction implementations

Implement get_localized_name, and also translate the strings
returned by get_description.
https://bugzilla.gnome.org/show_bug.cgi?id=525226

11 years agoUpdate a11y test results to match
Matthias Clasen [Mon, 4 Feb 2013 05:56:36 +0000 (00:56 -0500)]
Update a11y test results to match

The new way of setting the icons in GtkMessageDialog changes
the accessible dump output slightly.

11 years agoPrefer symbolic icons in message dialogs
Matthias Clasen [Sun, 3 Feb 2013 22:58:23 +0000 (17:58 -0500)]
Prefer symbolic icons in message dialogs

Based on a patch in
https://bugzilla.gnome.org/show_bug.cgi?id=680048

11 years agoPrefer symbolic icons for the default message dialog image
William Jon McCann [Mon, 16 Jul 2012 18:53:10 +0000 (14:53 -0400)]
Prefer symbolic icons for the default message dialog image

The icon does not need high resolution or color to indicate the type
of message and the color can detract from the important part of the message.

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

11 years agoClarify docs of GtkTextTag -set properties a bit
Matthias Clasen [Sun, 3 Feb 2013 22:22:48 +0000 (17:22 -0500)]
Clarify docs of GtkTextTag -set properties a bit

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

11 years agoa11y: Set up popup-for relation between entry and completion
Matthias Clasen [Sun, 3 Feb 2013 21:32:21 +0000 (16:32 -0500)]
a11y: Set up popup-for relation between entry and completion

This may address
https://bugzilla.gnome.org/show_bug.cgi?id=658148

11 years agoReinstate old-style deprecation guards for wholly-deprecated files
Matthias Clasen [Sun, 3 Feb 2013 20:51:05 +0000 (15:51 -0500)]
Reinstate old-style deprecation guards for wholly-deprecated files

11 years agoMake GtkTextView deal better with !can_focus
Matthias Clasen [Sun, 3 Feb 2013 20:44:41 +0000 (15:44 -0500)]
Make GtkTextView deal better with !can_focus

This was pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=693050

11 years agoMore updates
Matthias Clasen [Sun, 3 Feb 2013 20:23:48 +0000 (15:23 -0500)]
More updates

11 years agoMake GtkStatusIcon survive on Broadway
Matthias Clasen [Sun, 3 Feb 2013 01:39:53 +0000 (20:39 -0500)]
Make GtkStatusIcon survive on Broadway

Make the X11 GtkStatusIcon implementation deal with
multiple backends.

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

11 years agoscrolled-window: fix an incorrect gtk-doc comment
Cosimo Cecchi [Sat, 2 Feb 2013 13:08:14 +0000 (14:08 +0100)]
scrolled-window: fix an incorrect gtk-doc comment

11 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 2 Feb 2013 13:05:57 +0000 (15:05 +0200)]
Updated Hebrew translation.

11 years agoDon't build native tools when not cross-compiling
Matthias Clasen [Sat, 2 Feb 2013 04:53:59 +0000 (23:53 -0500)]
Don't build native tools when not cross-compiling

This was my local native build to fail.

11 years agoRevert "Don't use AC_CANONICAL_TARGET"
Matthias Clasen [Sat, 2 Feb 2013 04:36:00 +0000 (23:36 -0500)]
Revert "Don't use AC_CANONICAL_TARGET"

This reverts commit cd98eb15cb1532bd80ea0aec13d1adb5aa8aabe7.

It turns out that we just started using AX_PROG_CC_FOR_BUILD, which
for some reason requires AC_CANONICAL_TARGET. That seems wrong to
me, but for now, lets just keep using it.

11 years agoDon't build gtk-launch when gio-unix is not available
Erik van Pienbroek [Sun, 27 Jan 2013 14:14:35 +0000 (15:14 +0100)]
Don't build gtk-launch when gio-unix is not available

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

11 years agowayland: Add global_remove handler
Jan Arne Petersen [Wed, 30 Jan 2013 21:05:56 +0000 (22:05 +0100)]
wayland: Add global_remove handler

Do not crash on wl_registry.global_remove events anymore.

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

11 years agowayland: Make GdkWaylandDevice public
Jan Arne Petersen [Sun, 27 Jan 2013 13:28:43 +0000 (14:28 +0100)]
wayland: Make GdkWaylandDevice public

Rename GdkDeviceCore to GdkWaylandDevice and export it properly in a
header file. Add public accessors for wl_seat, wl_pointer and
wl_keyboard.

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

11 years agowayland: Rename GdkWaylandDevice
Jan Arne Petersen [Sat, 26 Jan 2013 22:14:57 +0000 (23:14 +0100)]
wayland: Rename GdkWaylandDevice

Rename GdkWaylandDevice to GdkWaylandDeviceData so that GdkDeviceCore
can be renamed to GdkWaylandDevice.

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

11 years agowayland: Remove unused, commented out code
Jan Arne Petersen [Sat, 26 Jan 2013 22:10:29 +0000 (23:10 +0100)]
wayland: Remove unused, commented out code

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

11 years agoOnly build native-update-icon-cache when no external update-icon-cache binary was...
Erik van Pienbroek [Sun, 27 Jan 2013 14:17:32 +0000 (15:17 +0100)]
Only build native-update-icon-cache when no external update-icon-cache binary was found

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

11 years agoDon't use AC_CANONICAL_TARGET
Erik van Pienbroek [Sun, 27 Jan 2013 14:19:34 +0000 (15:19 +0100)]
Don't use AC_CANONICAL_TARGET

This autoconf macro should only be used for building compilers
(or compiler tools) for a specific target. The current effect of
it in GTK3 is that it causes various executables like gtk3-demo
to be prefixed with $target- when the --target configure flag
is set or when cross-compiling. When cross-compiling GTK3 on
Linux for the Win32 target this causes the gtk3-demo binary
to be named i686-w64-mingw32-gtk3-demo.exe instead of just
gtk3-demo.exe (like it was before commit 53083ea7b423482b)

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

11 years agoscrolledwindow: deprecate gtk_scrolled_window_add_with_viewport()
Cosimo Cecchi [Fri, 1 Feb 2013 16:10:30 +0000 (17:10 +0100)]
scrolledwindow: deprecate gtk_scrolled_window_add_with_viewport()

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

11 years agoDon't use gtk_scrolled_window_add_with_viewport() in tests
Cosimo Cecchi [Fri, 1 Feb 2013 16:22:13 +0000 (17:22 +0100)]
Don't use gtk_scrolled_window_add_with_viewport() in tests

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

11 years agoDon't use gtk_scrolled_window_add_with_viewport() internally
Cosimo Cecchi [Fri, 1 Feb 2013 15:08:09 +0000 (16:08 +0100)]
Don't use gtk_scrolled_window_add_with_viewport() internally

Just use gtk_container_add() instead.

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

11 years agoscrolledwindow: make gtk_scrolled_window_add() smart
Cosimo Cecchi [Fri, 1 Feb 2013 16:03:44 +0000 (17:03 +0100)]
scrolledwindow: make gtk_scrolled_window_add() smart

There's really no reason why we shouldn't automatically create a
GtkViewport when the widget added to GtkScrolledWindow is not a
GtkScrollable, instead of just printing a g_warning.
Copy the viewport special case into the scrolled window implementation
of gtk_container_add().

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

11 years agoFix a few parameter mismatches in the symbols
Matthias Clasen [Sat, 2 Feb 2013 03:53:35 +0000 (22:53 -0500)]
Fix a few parameter mismatches in the symbols

11 years agoMake new state flags show up in the docs
Matthias Clasen [Sat, 2 Feb 2013 03:52:24 +0000 (22:52 -0500)]
Make new state flags show up in the docs

11 years agoAdd new symbols
Matthias Clasen [Sat, 2 Feb 2013 03:52:04 +0000 (22:52 -0500)]
Add new symbols

11 years agoAdd new symbols to docs
Matthias Clasen [Sat, 2 Feb 2013 03:51:32 +0000 (22:51 -0500)]
Add new symbols to docs

11 years agoInclude gtklevelbaraccessible.h in gtk-a11y.h
Matthias Clasen [Sat, 2 Feb 2013 03:09:28 +0000 (22:09 -0500)]
Include gtklevelbaraccessible.h in gtk-a11y.h

11 years agoAdd new fullscreen symbols
Matthias Clasen [Sat, 2 Feb 2013 03:09:08 +0000 (22:09 -0500)]
Add new fullscreen symbols

11 years agoUpdated Uyghur translation
Gheyret Kenji [Sat, 2 Feb 2013 03:15:17 +0000 (12:15 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoUse consistent capitalization of demo titles
Matthias Clasen [Sat, 2 Feb 2013 02:59:09 +0000 (21:59 -0500)]
Use consistent capitalization of demo titles

11 years agoAvoid perl warnings
Matthias Clasen [Sat, 2 Feb 2013 02:58:34 +0000 (21:58 -0500)]
Avoid perl warnings

Apparently, defined is not cool anymore.

11 years agoMake the text look a bit nicer
Matthias Clasen [Sat, 2 Feb 2013 02:56:25 +0000 (21:56 -0500)]
Make the text look a bit nicer

Add a margin around the text, and some space between the title
and the body of the info tab.

11 years agoSet the notebook to be scrollable
Matthias Clasen [Sat, 2 Feb 2013 02:46:07 +0000 (21:46 -0500)]
Set the notebook to be scrollable

The pixbufs example has just too many files..

11 years agoUpdates for 3.7.8
Matthias Clasen [Sat, 2 Feb 2013 02:38:40 +0000 (21:38 -0500)]
Updates for 3.7.8

11 years agoRevert "Forgotten file"
Matthias Clasen [Sat, 2 Feb 2013 01:15:56 +0000 (20:15 -0500)]
Revert "Forgotten file"

This reverts commit 1d72682332cfac909e62f3ba1cf3d7ee3c7d1490.

11 years agoDon't strip whitespace from ui files
Matthias Clasen [Sat, 2 Feb 2013 00:58:04 +0000 (19:58 -0500)]
Don't strip whitespace from ui files

That turns them into gibberish when we show them in the ui.

11 years agocssimage: Only load image data when needed
Benjamin Otte [Sat, 2 Feb 2013 00:42:04 +0000 (01:42 +0100)]
cssimage: Only load image data when needed

Saves ~6MB of memory per application in the Adwaita I am using - at
least until the app starts using all the images in the theme, because
the code doesn't discard images yet once they were loaded.

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

11 years agocssimage: Add a getter
Benjamin Otte [Sat, 2 Feb 2013 00:11:25 +0000 (01:11 +0100)]
cssimage: Add a getter

This will be needed in the next commit.

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

11 years agocssimage: Return the loaded image from compute()
Benjamin Otte [Fri, 1 Feb 2013 23:23:31 +0000 (00:23 +0100)]
cssimage: Return the loaded image from compute()

This way, we don't keep the indirection when actually rendering the
image.

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

11 years agocss: Split out GtkCssImageSurface
Benjamin Otte [Fri, 1 Feb 2013 22:15:27 +0000 (23:15 +0100)]
css: Split out GtkCssImageSurface

This is essentially a GtkCssImage for a cairo_surface_t and is a pretty
much straight up copy of GtkCssImageUrl. But we want to implement lazy
loading and animations, so GtkCssImageUrl is going to gain new
features...

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

11 years agocssimage: Store the URI we're loaded from
Benjamin Otte [Wed, 2 Jan 2013 14:27:00 +0000 (15:27 +0100)]
cssimage: Store the URI we're loaded from

I'd like to use it when printing the value, but I haven't found a way to
do that sanely yet, as I'd need to be able to print relative paths for
make check to work (otherwise the srcdir would blow things up). And we
use a GString to output to, so there's no way to attach a base dir to
that.

If anyone has an idea how to achieve that, poke me. Having the real
filename in debug prints sounds like a very good idea to me.

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

11 years agogtk-demo: Fix geniclude.pl.in to not look for extra files
Benjamin Otte [Fri, 1 Feb 2013 23:21:15 +0000 (00:21 +0100)]
gtk-demo: Fix geniclude.pl.in to not look for extra files

This was supposed to be fixed in
08667728190dcd7e19ddbbead4add714fab23364 but I fixed the generated
geninclude.pl. Oops.

11 years agogtk-demo: Replace logo with a transparent one
Benjamin Otte [Fri, 1 Feb 2013 20:56:36 +0000 (21:56 +0100)]
gtk-demo: Replace logo with a transparent one

That way, we don't have to make it transparent in all the demos.

11 years agogtk-demo: Move resources into the tests they belong
Benjamin Otte [Fri, 1 Feb 2013 18:02:56 +0000 (19:02 +0100)]
gtk-demo: Move resources into the tests they belong

This also gets rid of the nasty @import("resource:///...") lines in the
css files.

11 years agogtk-demo: Remove custom CSS demo
Benjamin Otte [Fri, 1 Feb 2013 17:58:40 +0000 (18:58 +0100)]
gtk-demo: Remove custom CSS demo

Custom CSS is something that we don't want to advertise as there are too
many pitfalls for using it correctly. So remove the demo for it.

11 years agogtk-demo: Remove file lists from demo data
Benjamin Otte [Fri, 1 Feb 2013 17:56:10 +0000 (18:56 +0100)]
gtk-demo: Remove file lists from demo data

We can get it from parsing resources now, so no need to manually add
them.

11 years agogtk-demo: Display all resources on the right side
Benjamin Otte [Fri, 1 Feb 2013 17:21:56 +0000 (18:21 +0100)]
gtk-demo: Display all resources on the right side

This way, people know what stuff we are loading.

And instead of listing all the files in the top (and forgetting things),
we just take them from the resources list.

11 years agoUpdated German translation
Christian Kirbach [Fri, 1 Feb 2013 20:27:28 +0000 (21:27 +0100)]
Updated German translation

11 years agoAdd accessibility for GtkLevelBar and value test
Mike Gorse [Mon, 3 Dec 2012 22:07:23 +0000 (16:07 -0600)]
Add accessibility for GtkLevelBar and value test

11 years agogtk-demo: Stop installing files
Benjamin Otte [Fri, 1 Feb 2013 16:41:56 +0000 (17:41 +0100)]
gtk-demo: Stop installing files

As everything is handled via resources now, there's no need to install
the files anymore.

11 years agogtk-demo: Remove demo_find_file() function
Benjamin Otte [Fri, 1 Feb 2013 16:38:08 +0000 (17:38 +0100)]
gtk-demo: Remove demo_find_file() function

It's not used anymore. With it, the demo-common.h header is not needed
anymore and is removed, too (and all the needless includes).

11 years agoscrolledwindow: Use local variables
Benjamin Otte [Fri, 1 Feb 2013 16:01:10 +0000 (17:01 +0100)]
scrolledwindow: Use local variables

This (a) makes the code look nicer, and (b) works for non-scrollables

11 years agogtk-demo: Load icon from resource
Benjamin Otte [Fri, 1 Feb 2013 13:46:13 +0000 (14:46 +0100)]
gtk-demo: Load icon from resource

11 years agogtk-demo: Display extra files from resources
Benjamin Otte [Wed, 30 Jan 2013 22:16:16 +0000 (23:16 +0100)]
gtk-demo: Display extra files from resources

11 years agoxxx: Add source files
Benjamin Otte [Wed, 30 Jan 2013 22:07:45 +0000 (23:07 +0100)]
xxx: Add source files

11 years agogtk-demo: Don't use subfolders for resources
Benjamin Otte [Wed, 30 Jan 2013 22:05:12 +0000 (23:05 +0100)]
gtk-demo: Don't use subfolders for resources

This confuses the notebook that is displaying them.

11 years agogtk-demo: Don't use aliases for filenames
Benjamin Otte [Wed, 30 Jan 2013 20:11:32 +0000 (21:11 +0100)]
gtk-demo: Don't use aliases for filenames

This is necessary so the files displayed in the left notebook match the
files referenced in the source code.

11 years agogtk-demo: Port pixbufs example to resources
Benjamin Otte [Wed, 30 Jan 2013 15:57:13 +0000 (16:57 +0100)]
gtk-demo: Port pixbufs example to resources

11 years agogtk-demo: Port textview example to resources
Benjamin Otte [Wed, 30 Jan 2013 15:46:20 +0000 (16:46 +0100)]
gtk-demo: Port textview example to resources

11 years agoimage: Make gtk_image_new_from_resource() load animations
Benjamin Otte [Wed, 30 Jan 2013 15:24:39 +0000 (16:24 +0100)]
image: Make gtk_image_new_from_resource() load animations

Requires new gdk-pixbuf APIs to load animations from resources.

11 years agogtk-demo: Port images example to resources
Benjamin Otte [Tue, 29 Jan 2013 21:24:42 +0000 (22:24 +0100)]
gtk-demo: Port images example to resources

11 years agogtk-demo: Port images example to GInputStream
Benjamin Otte [Tue, 29 Jan 2013 20:42:16 +0000 (21:42 +0100)]
gtk-demo: Port images example to GInputStream

11 years agogtk-demo: Port iconview example to use resources
Benjamin Otte [Tue, 29 Jan 2013 16:21:19 +0000 (17:21 +0100)]
gtk-demo: Port iconview example to use resources

11 years agogtk-demo: Port appwindow example to resources
Benjamin Otte [Tue, 29 Jan 2013 16:14:34 +0000 (17:14 +0100)]
gtk-demo: Port appwindow example to resources

11 years agogtk-demo: Port builder example to resources
Benjamin Otte [Tue, 29 Jan 2013 16:10:30 +0000 (17:10 +0100)]
gtk-demo: Port builder example to resources

11 years agogtk-demo: Make printing example use resources
Benjamin Otte [Tue, 29 Jan 2013 16:02:16 +0000 (17:02 +0100)]
gtk-demo: Make printing example use resources

11 years agogtk-demo: Load sources from resources
Benjamin Otte [Tue, 29 Jan 2013 13:51:06 +0000 (14:51 +0100)]
gtk-demo: Load sources from resources

11 years agogtk-demo: Load the demo files using g_file_get_contents()
Benjamin Otte [Tue, 29 Jan 2013 13:08:47 +0000 (14:08 +0100)]
gtk-demo: Load the demo files using g_file_get_contents()

... instead of massaging a FILE* with flockfile() and ungetc().

11 years agogtk-demo: Include the source files as resources
Benjamin Otte [Tue, 29 Jan 2013 12:27:58 +0000 (13:27 +0100)]
gtk-demo: Include the source files as resources