[libegg/spread-table-dnd: 33/45] Add void to function prototype and definition



commit 7229a4f1d2478a4e86f5e05b6f1d2557742d22b4
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]