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.
This commit is contained in:
Benjamin Otte 2023-03-26 00:53:20 +01:00
parent da9b19804d
commit 32ff37f070
3 changed files with 3 additions and 3 deletions

View File

@ -298,6 +298,7 @@
<file>iconscroll.c</file> <file>iconscroll.c</file>
<file>iconview.c</file> <file>iconview.c</file>
<file>iconview_edit.c</file> <file>iconview_edit.c</file>
<file>image_scaling.c</file>
<file>images.c</file> <file>images.c</file>
<file>infobar.c</file> <file>infobar.c</file>
<file>layoutmanager.c</file> <file>layoutmanager.c</file>
@ -318,7 +319,6 @@
<file>main.c</file> <file>main.c</file>
<file>markup.c</file> <file>markup.c</file>
<file>mask.c</file> <file>mask.c</file>
<file>menu.c</file>
<file>overlay.c</file> <file>overlay.c</file>
<file>overlay_decorative.c</file> <file>overlay_decorative.c</file>
<file>paint.c</file> <file>paint.c</file>

View File

@ -117,7 +117,7 @@ transform_from (GBinding *binding,
} }
GtkWidget * GtkWidget *
do_menu (GtkWidget *do_widget) do_image_scaling (GtkWidget *do_widget)
{ {
static GtkWidget *window = NULL; static GtkWidget *window = NULL;

View File

@ -39,6 +39,7 @@ demos = files([
'iconscroll.c', 'iconscroll.c',
'iconview.c', 'iconview.c',
'iconview_edit.c', 'iconview_edit.c',
'image_scaling.c',
'images.c', 'images.c',
'infobar.c', 'infobar.c',
'layoutmanager.c', 'layoutmanager.c',
@ -47,7 +48,6 @@ demos = files([
'listbox.c', 'listbox.c',
'listbox_controls.c', 'listbox_controls.c',
'mask.c', 'mask.c',
'menu.c',
'flowbox.c', 'flowbox.c',
'list_store.c', 'list_store.c',
'listview_applauncher.c', 'listview_applauncher.c',