-/* -*- mode: C; c-file-style: "stroustrup"; indent-tabs-mode: nil; -*- */
-/* Copyright (c) 2003 Nokia Oyj*/
+/*
+ * This file is part of hildon-libs
+ *
+ * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
+ *
+ * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; version 2.1 of
+ * the License or any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ *
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
init_test();
time_editor = HILDON_TIME_EDITOR( hildon_time_editor_new () );
+#ifndef HILDON_DISABLE_DEPRECATED
hildon_time_editor_show_seconds( time_editor, TRUE );
+#else
+ hildon_time_editor_set_show_seconds (time_editor, TRUE);
+#endif
return 1;
}
{
HildonTimeEditor *time_editor = NULL;
-
-
+#ifndef HILDON_DISABLE_DEPRECATED
hildon_time_editor_show_seconds( time_editor, TRUE );
+#else
+ hildon_time_editor_set_show_seconds (time_editor, TRUE);
+#endif
return 1;
}