Updating branch refs/heads/master to d7f265a62a54de1a38cbf98e82e0c59faaa9055d (commit) from db507caefadac40ca006e114d7b61860258321d9 (commit)
commit d7f265a62a54de1a38cbf98e82e0c59faaa9055d Author: Nick Schermer <n...@xfce.org> Date: Thu Jan 28 21:24:33 2010 +0100 Fix some compiler warnings. modules/menu/xfdesktop-app-menu-item.h | 4 ++-- src/main.c | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/menu/xfdesktop-app-menu-item.h b/modules/menu/xfdesktop-app-menu-item.h index e7ae1f9..7519df2 100644 --- a/modules/menu/xfdesktop-app-menu-item.h +++ b/modules/menu/xfdesktop-app-menu-item.h @@ -36,9 +36,9 @@ G_BEGIN_DECLS typedef struct _XfdesktopAppMenuItem XfdesktopAppMenuItem; -GType xfdesktop_app_menu_item_get_type () G_GNUC_CONST; +GType xfdesktop_app_menu_item_get_type (void) G_GNUC_CONST; -GtkWidget *xfdesktop_app_menu_item_new (); +GtkWidget *xfdesktop_app_menu_item_new (void); GtkWidget *xfdesktop_app_menu_item_new_with_label (const gchar *label); diff --git a/src/main.c b/src/main.c index 4440396..1237abd 100644 --- a/src/main.c +++ b/src/main.c @@ -32,6 +32,10 @@ #include <stdlib.h> #endif +#ifdef HAVE_UNISTD_H +#include <unistd.h> +#endif + #ifdef HAVE_STRING_H #include <string.h> #endif _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits