Use void instead of empty arguments. (#508760, Philip Van Hoof)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkitemfactory.h: Use void instead of empty arguments.
    (#508760, Philip Van Hoof)


svn path=/trunk/; revision=19694
This commit is contained in:
Johan Dahlin 2008-03-03 01:22:54 +00:00 committed by Johan Dahlin
parent 90cba8ffdb
commit b7e1d653dc
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2008-03-02 Johan Dahlin <johan@gnome.org> 2008-03-02 Johan Dahlin <johan@gnome.org>
* gtk/gtkitemfactory.h: Use void instead of empty arguments.
(#508760, Philip Van Hoof)
* gtk/gtkiconview.c (gtk_icon_view_paint_item): * gtk/gtkiconview.c (gtk_icon_view_paint_item):
Remove left-over focus_pad variable. Remove left-over focus_pad variable.
(#490892, Claudio Saavedra) (#490892, Claudio Saavedra)

View File

@ -47,7 +47,7 @@ typedef void (*GtkPrintFunc) (gpointer func_data,
* (Note that if we are included from a C++ program () will mean * (Note that if we are included from a C++ program () will mean
* (void) so an explicit cast will be needed.) * (void) so an explicit cast will be needed.)
*/ */
typedef void (*GtkItemFactoryCallback) (); typedef void (*GtkItemFactoryCallback) (void);
typedef void (*GtkItemFactoryCallback1) (gpointer callback_data, typedef void (*GtkItemFactoryCallback1) (gpointer callback_data,
guint callback_action, guint callback_action,
GtkWidget *widget); GtkWidget *widget);