[Xfce4-commits] [xfce/exo] 01/03: Add gtk3 icon chooser dialog test
noreply at xfce.org
noreply at xfce.org
Sun Jun 17 12:24:46 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/exo.
commit eda4d3f70b69c17a146f08d69f17ae912ff93940
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Jun 17 06:22:19 2018 -0400
Add gtk3 icon chooser dialog test
---
.gitignore | 6 ++++++
tests/Makefile.am | 15 +++++++++++++++
tests/test-exo-icon-chooser-dialog.c | 4 ++--
3 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index a2608ed..714fccd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -49,6 +49,12 @@ exo-open/exo-open
po/*.gmo
po/.intltool-merge-cache
tests/test-exo-csource-data.c
+tests/test-exo-csource
+tests/test-exo-icon-chooser-dialog
+tests/test-exo-icon-chooser-dialog-gtk3
+tests/test-exo-noop
+tests/test-exo-string
+tests/test-exo-wrap-table
*.1
*.desktop
*.la
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 8563418..5fca68a 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -16,6 +16,7 @@ check_PROGRAMS = \
test-exo-noop \
test-exo-string \
test-exo-icon-chooser-dialog \
+ test-exo-icon-chooser-dialog-gtk3 \
test-exo-wrap-table
test_exo_csource_SOURCES = \
@@ -70,6 +71,20 @@ test_exo_icon_chooser_dialog_LDADD = \
$(GTK_LIBS) \
$(top_builddir)/exo/libexo-$(LIBEXO_VERSION_API).la
+test_exo_icon_chooser_dialog_gtk3_SOURCES = \
+ test-exo-icon-chooser-dialog.c
+
+test_exo_icon_chooser_dialog_gtk3_CFLAGS = \
+ $(GTK3_CFLAGS) \
+ $(LIBXFCE4UTIL_CFLAGS)
+
+test_exo_icon_chooser_dialog_gtk3_DEPENDENCIES = \
+ $(top_builddir)/exo/libexo-2.la
+
+test_exo_icon_chooser_dialog_gtk3_LDADD = \
+ $(GTK3_LIBS) \
+ $(top_builddir)/exo/libexo-2.la
+
test_exo_wrap_table_SOURCES = \
test-exo-wrap-table.c
diff --git a/tests/test-exo-icon-chooser-dialog.c b/tests/test-exo-icon-chooser-dialog.c
index 97fed1b..cb021c2 100644
--- a/tests/test-exo-icon-chooser-dialog.c
+++ b/tests/test-exo-icon-chooser-dialog.c
@@ -40,8 +40,8 @@ main (int argc, char **argv)
gtk_init (&argc, &argv);
dialog = exo_icon_chooser_dialog_new ("Select an icon", NULL,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+ "Cancel", GTK_RESPONSE_CANCEL,
+ "OK", GTK_RESPONSE_ACCEPT,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
if (argc > 1)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list