projects
/
hildon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2009-01-12 Alberto Garcia <agarcia@igalia.com>
[hildon]
/
src
/
hildon-calendar.c
diff --git
a/src/hildon-calendar.c
b/src/hildon-calendar.c
index
4802ee0
..
2a1e8ee
100644
(file)
--- a/
src/hildon-calendar.c
+++ b/
src/hildon-calendar.c
@@
-12,7
+12,7
@@
* HldonCalendar modifications
* Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
*
* HldonCalendar modifications
* Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
*
- * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-45,7
+45,15
@@
* standard #GtkCalendar or use #HildonDateEditor for more higher-level date setting
* operations.
*
* standard #GtkCalendar or use #HildonDateEditor for more higher-level date setting
* operations.
*
- */
+ * <note>
+ * <para>
+ * #HildonCalendar has been deprecated since Hildon 2.2 and should not
+ * be used in newly written code. Use #HildonDateSelector instead.
+ * </para>
+ * </note>
+ */
+
+#undef HILDON_DISABLE_DEPRECATED
#ifdef HAVE_CONFIG_H
#include <config.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
@@
-53,6
+61,8
@@
#define _GNU_SOURCE /* needed for GNU nl_langinfo_l */
#define _GNU_SOURCE /* needed for GNU nl_langinfo_l */
+#include <locale.h>
+
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
@@
-61,15
+71,13
@@
#include <stdlib.h>
#include <time.h>
#include <langinfo.h>
#include <stdlib.h>
#include <time.h>
#include <langinfo.h>
-#include <locale.h>
+
#include <glib/gprintf.h>
#include <glib/gprintf.h>
+#include <gdk/gdkkeysyms.h>
+#include <gtk/gtkprivate.h>
#include "hildon-calendar.h"
#include "hildon-marshalers.h"
#include "hildon-calendar.h"
#include "hildon-marshalers.h"
-#include <gtk/gtkdnd.h>
-#include <gtk/gtkmain.h>
-#include <gdk/gdkkeysyms.h>
-#include <gtk/gtkprivate.h>
#include "hildon-calendar-private.h"
/***************************************************************************/
#include "hildon-calendar-private.h"
/***************************************************************************/
@@
-3036,7
+3044,7
@@
calendar_timer (gpointer data)
settings = gtk_settings_get_default ();
g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
settings = gtk_settings_get_default ();
g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
- timeout *= 5;
+ timeout *= 8;
GDK_THREADS_ENTER ();
GDK_THREADS_ENTER ();
@@
-3070,7
+3078,7
@@
start_spinning (GtkWidget *widget,
settings = gtk_settings_get_default ();
g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
settings = gtk_settings_get_default ();
g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
- timeout *= 5;
+ timeout *= 8;
private_data->click_child = click_child;
private_data->click_child = click_child;