#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
#ifdef G_OS_WIN32
# define _BUILDER_TEST_EXPORT __declspec(dllexport)
#else
#include "treemodel.h"
#include "gtktreemodelrefcount.h"
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
/* Left to do:
* - Proper coverage checking to see if the unit tests cover
* all possible cases.
#include "config.h"
#include "gtktreemodelrefcount.h"
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
/* The purpose of this GtkTreeModel is to keep record of the reference count
* of each node. The reference count does not effect the functioning of
#include "gtktreemodelrefcount.h"
#include "treemodel.h"
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
/* And the tests themselves */
static void
static void
widget_fixups (GtkWidget *widget)
{
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
/* post-constructor for widgets that need additional settings to work correctly */
if (GTK_IS_COMBO_BOX_TEXT (widget))
{
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (widget), "test text");
}
+G_GNUC_END_IGNORE_DEPRECATIONS
}
static void
#include "treemodel.h"
#include "gtktreemodelrefcount.h"
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static void
ref_count_single_level (void)
#include "treemodel.h"
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
int
main (int argc,
char **argv)
#include <gtk/gtk.h>
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
void register_list_store_tests (void);
void register_tree_store_tests (void);
void register_sort_model_tests (void);
#include <gtk/gtk.h>
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
test_append (void)
{
#include <gtk/gtk.h>
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
test_bug_546005 (void)
{