[libegg] Add void to function prototype and definition
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libegg] Add void to function prototype and definition
- Date: Wed, 23 Mar 2011 15:38:39 +0000 (UTC)
commit 21e5ceb9c377d020fe4a7dce6742a1399cf6ca2c
Author: David King <davidk openismus com>
Date: Wed Mar 23 15:06:29 2011 +0100
Add void to function prototype and definition
libegg/background-monitor/egg-background-monitor.c | 2 +-
libegg/background-monitor/egg-background-monitor.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libegg/background-monitor/egg-background-monitor.c b/libegg/background-monitor/egg-background-monitor.c
index b994f07..5226934 100644
--- a/libegg/background-monitor/egg-background-monitor.c
+++ b/libegg/background-monitor/egg-background-monitor.c
@@ -118,7 +118,7 @@ egg_background_monitor_get_type (void)
}
EggBackgroundMonitor *
-egg_background_monitor_new () {
+egg_background_monitor_new (void) {
EggBackgroundMonitor *p;
p = (EggBackgroundMonitor *)g_object_new (egg_background_monitor_get_type (),
diff --git a/libegg/background-monitor/egg-background-monitor.h b/libegg/background-monitor/egg-background-monitor.h
index 02b8444..f9eb9b9 100644
--- a/libegg/background-monitor/egg-background-monitor.h
+++ b/libegg/background-monitor/egg-background-monitor.h
@@ -20,7 +20,7 @@ typedef struct _EggBackgroundMonitorClass EggBackgroundMonitorClass;
typedef struct _EggBackgroundMonitor EggBackgroundMonitor;
GType egg_background_monitor_get_type (void);
-EggBackgroundMonitor* egg_background_monitor_new ();
+EggBackgroundMonitor* egg_background_monitor_new (void);
GdkPixbuf * egg_background_monitor_get_region (EggBackgroundMonitor *monitor, int x, int y, int width, int height);
GdkPixbuf * egg_background_monitor_get_widget_background (EggBackgroundMonitor *monitor, GtkWidget *widget);
#endif /* EGG_BACKGROUND_MONITOR_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]