soc.2009.webkitmessageview: 46541436: Use (void) in prototypes. (thanks Elliot...

tdrhq at soc.pidgin.im tdrhq at soc.pidgin.im
Tue Aug 25 12:02:16 EDT 2009


-----------------------------------------------------------------
Revision: 465414369d1f2d85dd66379e3fa6e9fe267a024f
Ancestor: b049d3e6cdc452dd5f422f6972caca2e45675008
Author: tdrhq at soc.pidgin.im
Date: 2009-08-19T02:43:17
Branch: im.pidgin.soc.2009.webkitmessageview
URL: http://d.pidgin.im/viewmtn/revision/info/465414369d1f2d85dd66379e3fa6e9fe267a024f

Modified files:
        pidgin/gtkwebview.c pidgin/gtkwebview.h

ChangeLog: 

Use (void) in prototypes. (thanks Elliott)

-------------- next part --------------
============================================================
--- pidgin/gtkwebview.c	642171e311b5cbf111007db28b616f6e111b7d8b
+++ pidgin/gtkwebview.c	bfedf0416858968394db3ae3083643f37fda14e1
@@ -50,7 +50,7 @@ struct GtkWebViewPriv {
 	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 @@ gboolean gtk_webview_is_empty (GtkWebVie
 	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)) {
============================================================
--- pidgin/gtkwebview.h	07da553931f7db373b05c2482c02ac6801010bca
+++ pidgin/gtkwebview.h	916745054254d00d1da0d77f4d7ce6a18a551cb3
@@ -63,14 +63,14 @@ typedef struct _GtkWebViewClass GtkWebVi
  *
  * @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


More information about the Commits mailing list