[gnome-desktop] Fix GnomeTzMonitor
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop] Fix GnomeTzMonitor
- Date: Fri, 26 Aug 2011 18:40:32 +0000 (UTC)
commit 0fd4ef94029f3dbdca906c63646cbac912c974a3
Author: Bastien Nocera <hadess hadess net>
Date: Fri Aug 26 19:29:55 2011 +0100
Fix GnomeTzMonitor
It doesn't really need width and height args...
libgnome-desktop/gnome-tz-monitor.c | 3 +--
libgnome-desktop/gnome-tz-monitor.h | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libgnome-desktop/gnome-tz-monitor.c b/libgnome-desktop/gnome-tz-monitor.c
index be7375c..02d1984 100644
--- a/libgnome-desktop/gnome-tz-monitor.c
+++ b/libgnome-desktop/gnome-tz-monitor.c
@@ -163,8 +163,7 @@ gnome_tz_monitor_init (GnomeTzMonitor *monitor)
* Return value: the new #GnomeTzMonitor
**/
GnomeTzMonitor *
-gnome_tz_monitor_new (int width,
- int height)
+gnome_tz_monitor_new (void)
{
return g_object_new (GNOME_TYPE_TZ_MONITOR, NULL);
}
diff --git a/libgnome-desktop/gnome-tz-monitor.h b/libgnome-desktop/gnome-tz-monitor.h
index c7d2625..907597a 100644
--- a/libgnome-desktop/gnome-tz-monitor.h
+++ b/libgnome-desktop/gnome-tz-monitor.h
@@ -58,8 +58,8 @@ struct _GnomeTzMonitorClass
void (* changed) (GnomeTzMonitor *monitor);
};
-GType gnome_tz_monitor_get_type (void);
-GnomeTzMonitor *gnome_tz_monitor_new (int width, int height);
+GType gnome_tz_monitor_get_type (void);
+GnomeTzMonitor *gnome_tz_monitor_new (void);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]