[Xfce4-commits] [apps/ristretto] 01/01: Fix function prototypes
noreply at xfce.org
noreply at xfce.org
Thu Oct 13 17:17:41 CEST 2016
This is an automated email from the git hooks/post-receive script.
f2404 pushed a commit to branch master
in repository apps/ristretto.
commit 53686939219c7fe1ce0762ae74b7259984b1b2e6
Author: Igor <f2404 at yandex.ru>
Date: Thu Oct 13 18:17:34 2016 +0300
Fix function prototypes
---
src/app_menu_item.h | 2 +-
src/image_list.c | 6 ++++--
src/image_list.h | 2 +-
src/image_viewer.h | 4 ++--
src/main_window.h | 3 ++-
src/mime_db.h | 2 +-
src/monitor_chooser.h | 6 ++++--
src/preferences_dialog.h | 3 ++-
src/privacy_dialog.h | 2 +-
src/properties_dialog.h | 2 +-
10 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/src/app_menu_item.h b/src/app_menu_item.h
index b26abc9..90f55bd 100644
--- a/src/app_menu_item.h
+++ b/src/app_menu_item.h
@@ -61,7 +61,7 @@ struct _RsttoAppMenuItemClass
GtkImageMenuItemClass parent_class;
};
-GType rstto_app_menu_item_get_type();
+GType rstto_app_menu_item_get_type (void);
GtkWidget *rstto_app_menu_item_new (GAppInfo *app_info, GFile *file);
G_END_DECLS
diff --git a/src/image_list.c b/src/image_list.c
index b2cc0d8..427d7c3 100644
--- a/src/image_list.c
+++ b/src/image_list.c
@@ -58,6 +58,10 @@ static void
rstto_image_list_iter_class_init(RsttoImageListIterClass *);
static void
rstto_image_list_iter_dispose(GObject *object);
+static RsttoImageListIter *
+rstto_image_list_iter_new (
+ RsttoImageList *nav,
+ RsttoFile *r_file);
static void
cb_rstto_wrap_images_changed (
@@ -167,8 +171,6 @@ image_list_model_iter_next (
/* End TreeModelIface Functions */
/***************************************/
-static RsttoImageListIter * rstto_image_list_iter_new ();
-
static gint
cb_rstto_image_list_image_name_compare_func (RsttoFile *a, RsttoFile *b);
static gint
diff --git a/src/image_list.h b/src/image_list.h
index 4b14b31..223761e 100644
--- a/src/image_list.h
+++ b/src/image_list.h
@@ -150,7 +150,7 @@ rstto_image_list_get_iter (RsttoImageList *image_list);
/** Iter functions */
GType
-rstto_image_list_iter_get_type ();
+rstto_image_list_iter_get_type (void);
RsttoFile *
rstto_image_list_iter_get_file (
diff --git a/src/image_viewer.h b/src/image_viewer.h
index e4665a6..7ce0615 100644
--- a/src/image_viewer.h
+++ b/src/image_viewer.h
@@ -72,10 +72,10 @@ struct _RsttoImageViewerClass
};
GType
-rstto_image_viewer_get_type(void);
+rstto_image_viewer_get_type (void);
GtkWidget *
-rstto_image_viewer_new ();
+rstto_image_viewer_new (void);
void
rstto_image_viewer_set_file (
diff --git a/src/main_window.h b/src/main_window.h
index 19b97cf..00b2115 100644
--- a/src/main_window.h
+++ b/src/main_window.h
@@ -70,7 +70,8 @@ typedef enum {
} RsttoDesktop;
-GType rstto_main_window_get_type();
+GType
+rstto_main_window_get_type (void);
GtkWidget *
rstto_main_window_new (RsttoImageList *, gboolean);
diff --git a/src/mime_db.h b/src/mime_db.h
index 449668f..4ab5b70 100644
--- a/src/mime_db.h
+++ b/src/mime_db.h
@@ -63,7 +63,7 @@ struct _RsttoMimeDBClass
};
GType
-rstto_mime_db_get_type ();
+rstto_mime_db_get_type (void);
RsttoMimeDB *
rstto_mime_db_new (const gchar *path, GError **);
diff --git a/src/monitor_chooser.h b/src/monitor_chooser.h
index 4610e3e..2fe5e40 100644
--- a/src/monitor_chooser.h
+++ b/src/monitor_chooser.h
@@ -61,9 +61,11 @@ struct _RsttoMonitorChooserClass
GtkWidgetClass parent_class;
};
-GType rstto_monitor_chooser_get_type();
+GType
+rstto_monitor_chooser_get_type (void);
-GtkWidget *rstto_monitor_chooser_new ();
+GtkWidget *
+rstto_monitor_chooser_new (void);
gint
rstto_monitor_chooser_add (
diff --git a/src/preferences_dialog.h b/src/preferences_dialog.h
index e5f28f7..61fdef3 100644
--- a/src/preferences_dialog.h
+++ b/src/preferences_dialog.h
@@ -61,7 +61,8 @@ struct _RsttoPreferencesDialogClass
XfceTitledDialogClass parent_class;
};
-GType rstto_preferences_dialog_get_type();
+GType
+rstto_preferences_dialog_get_type (void);
GtkWidget *
rstto_preferences_dialog_new (GtkWindow *parent);
diff --git a/src/privacy_dialog.h b/src/privacy_dialog.h
index e05cce4..1e51be3 100644
--- a/src/privacy_dialog.h
+++ b/src/privacy_dialog.h
@@ -62,7 +62,7 @@ struct _RsttoPrivacyDialogClass
};
GType
-rstto_privacy_dialog_get_type();
+rstto_privacy_dialog_get_type (void);
GtkWidget *
rstto_privacy_dialog_new (
diff --git a/src/properties_dialog.h b/src/properties_dialog.h
index 7779193..512b9d2 100644
--- a/src/properties_dialog.h
+++ b/src/properties_dialog.h
@@ -62,7 +62,7 @@ struct _RsttoPropertiesDialogClass
};
GType
-rstto_properties_dialog_get_type();
+rstto_properties_dialog_get_type (void);
GtkWidget *
rstto_properties_dialog_new (
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list