Commit 53686939 authored by Igor's avatar Igor

Fix function prototypes

parent 268e6d18
......@@ -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
......
......@@ -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
......
......@@ -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 (
......
......@@ -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 (
......
......@@ -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);
......
......@@ -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 **);
......
......@@ -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 (
......
......@@ -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);
......
......@@ -62,7 +62,7 @@ struct _RsttoPrivacyDialogClass
};
GType
rstto_privacy_dialog_get_type();
rstto_privacy_dialog_get_type (void);
GtkWidget *
rstto_privacy_dialog_new (
......
......@@ -62,7 +62,7 @@ struct _RsttoPropertiesDialogClass
};
GType
rstto_properties_dialog_get_type();
rstto_properties_dialog_get_type (void);
GtkWidget *
rstto_properties_dialog_new (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment