changeset 32109:1cebf9aa291a

Use (void) in prototypes. (thanks Elliott)
author tdrhq@soc.pidgin.im
date Wed, 19 Aug 2009 02:43:17 +0000
parents 79f5a5e75152
children 5c53eabcea93
files pidgin/gtkwebview.c pidgin/gtkwebview.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkwebview.c	Sun Aug 16 19:28:23 2009 +0000
+++ b/pidgin/gtkwebview.c	Wed Aug 19 02:43:17 2009 +0000
@@ -50,7 +50,7 @@
 	gboolean is_loading;
 };
 
-GtkWidget* gtk_webview_new ()
+GtkWidget* gtk_webview_new (void)
 {
 	GtkWebView* ret = GTK_WEBVIEW (g_object_new(gtk_webview_get_type(), NULL));
 	return GTK_WIDGET (ret);
@@ -313,7 +313,7 @@
 	return view->priv->empty;
 }
 
-GType gtk_webview_get_type ()
+GType gtk_webview_get_type (void)
 {
 	static GType mview_type = 0;
 	if (G_UNLIKELY (mview_type == 0)) {
--- a/pidgin/gtkwebview.h	Sun Aug 16 19:28:23 2009 +0000
+++ b/pidgin/gtkwebview.h	Wed Aug 19 02:43:17 2009 +0000
@@ -63,14 +63,14 @@
  *
  * @return the GType for GtkWebView widget
  */
-GType gtk_webview_get_type ();
+GType gtk_webview_get_type (void);
 
 /**
  * Create a new GtkWebView object
  *
  * @return a GtkWidget corresponding to the GtkWebView object
  */
-GtkWidget* gtk_webview_new ();
+GtkWidget* gtk_webview_new (void);
 
 /**
  * A very basic routine to append html, which can be considered