diff options
author | Benjamin Otte <otte@redhat.com> | 2023-03-26 00:53:20 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2023-03-26 01:02:17 +0100 |
commit | 32ff37f0708c012a5ec692ca97ecebb78044759f (patch) | |
tree | 302c088db009ad26e36e8ef9d93e86d84a8af6d1 | |
parent | da9b19804dcae5e7b5a9177b7304c921cb074aad (diff) | |
download | gtk+-32ff37f0708c012a5ec692ca97ecebb78044759f.tar.gz |
gtk-demo: Rename image scaling demo to image_scaling
This just means renaming the C file, but it makes --run=image_scaling
actually do what I'd expect.
-rw-r--r-- | demos/gtk-demo/demo.gresource.xml | 2 | ||||
-rw-r--r-- | demos/gtk-demo/image_scaling.c (renamed from demos/gtk-demo/menu.c) | 2 | ||||
-rw-r--r-- | demos/gtk-demo/meson.build | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/demos/gtk-demo/demo.gresource.xml b/demos/gtk-demo/demo.gresource.xml index 3db485748a..206833b185 100644 --- a/demos/gtk-demo/demo.gresource.xml +++ b/demos/gtk-demo/demo.gresource.xml @@ -298,6 +298,7 @@ <file>iconscroll.c</file> <file>iconview.c</file> <file>iconview_edit.c</file> + <file>image_scaling.c</file> <file>images.c</file> <file>infobar.c</file> <file>layoutmanager.c</file> @@ -318,7 +319,6 @@ <file>main.c</file> <file>markup.c</file> <file>mask.c</file> - <file>menu.c</file> <file>overlay.c</file> <file>overlay_decorative.c</file> <file>paint.c</file> diff --git a/demos/gtk-demo/menu.c b/demos/gtk-demo/image_scaling.c index d8ddac01df..033fe90f02 100644 --- a/demos/gtk-demo/menu.c +++ b/demos/gtk-demo/image_scaling.c @@ -117,7 +117,7 @@ transform_from (GBinding *binding, } GtkWidget * -do_menu (GtkWidget *do_widget) +do_image_scaling (GtkWidget *do_widget) { static GtkWidget *window = NULL; diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build index d115339bb6..8cd428a969 100644 --- a/demos/gtk-demo/meson.build +++ b/demos/gtk-demo/meson.build @@ -39,6 +39,7 @@ demos = files([ 'iconscroll.c', 'iconview.c', 'iconview_edit.c', + 'image_scaling.c', 'images.c', 'infobar.c', 'layoutmanager.c', @@ -47,7 +48,6 @@ demos = files([ 'listbox.c', 'listbox_controls.c', 'mask.c', - 'menu.c', 'flowbox.c', 'list_store.c', 'listview_applauncher.c', |