aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2009-12-15 15:33:26 +0200
committerClaudio Saavedra <csaavedra@igalia.com>2009-12-15 15:33:26 +0200
commit3705ae817bf6460c079324e57baaa411ca7959ca (patch)
tree8d9485768a1e44d650c3b2dbed17c3822daacaa7 /examples
parent923269beacf573d30193254d66dcb0616e2f38ef (diff)
Rename hildon_gtk_window_take_screenshot_then_wait()
To hildon_gtk_take_screenshot_sync(), for sake of simplicity. Also, added to the docs.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am8
-rw-r--r--examples/hildon-gtk-window-take-screenshot-sync.c (renamed from examples/hildon-gtk-window-take-screenshot-then-wait-example.c)4
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 35c1155..626d096 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -42,7 +42,7 @@ EXAMPLES = hildon-window-example \
hildon-touch-selector-entry-example \
hildon-progress-indicator-example \
hildon-remote-texture-example \
- hildon-gtk-window-take-screenshot-then-wait-example
+ hildon-gtk-window-take-screenshot-sync
if USE_MAEMO_GTK
MAEMO_GTK_EXAMPLES = hildon-pannable-area-touch-list-example \
hildon-pannable-area-touch-grid-example
@@ -484,9 +484,9 @@ hildon_remote_texture_example_CFLAGS = $(HILDON_OBJ_CFLAGS) \
hildon_remote_texture_example_SOURCES = hildon-remote-texture-example.c
# Hildon remote texture
-hildon_gtk_window_take_screenshot_then_wait_example_LDADD = $(HILDON_OBJ_LIBS)
-hildon_gtk_window_take_screenshot_then_wait_example_CFLAGS = $(HILDON_OBJ_CFLAGS) \
+hildon_gtk_window_take_screenshot_sync_LDADD = $(HILDON_OBJ_LIBS)
+hildon_gtk_window_take_screenshot_sync_CFLAGS = $(HILDON_OBJ_CFLAGS) \
$(EXTRA_CFLAGS)
-hildon_gtk_window_take_screenshot_then_wait_example_SOURCES = hildon-gtk-window-take-screenshot-then-wait-example.c
+hildon_gtk_window_take_screenshot_sync_SOURCES = hildon-gtk-window-take-screenshot-sync.c
endif
diff --git a/examples/hildon-gtk-window-take-screenshot-then-wait-example.c b/examples/hildon-gtk-window-take-screenshot-sync.c
index 5ce5d67..be8c323 100644
--- a/examples/hildon-gtk-window-take-screenshot-then-wait-example.c
+++ b/examples/hildon-gtk-window-take-screenshot-sync.c
@@ -21,10 +21,10 @@ static unsigned cntfiles(char const *path)
static gboolean cb(gpointer win)
{
- extern void hildon_gtk_window_take_screenshot_then_wait(
+ extern void hildon_gtk_window_take_screenshot_sync (
GtkWindow *window, gboolean take);
void (*fun)(GtkWindow *, gboolean) = Block
- ? hildon_gtk_window_take_screenshot_then_wait
+ ? hildon_gtk_window_take_screenshot_sync
: hildon_gtk_window_take_screenshot;
g_warning("CREATE: %u", cntfiles("/home/user/.cache/launch"));