[Xfce4-commits] <xfburn:burnimage> Replace old style function declarations - () with (void)
David Mohr
noreply at xfce.org
Tue Oct 20 09:56:03 CEST 2009
Updating branch refs/heads/burnimage
to c1bf3559cc137037a5f22cf2d0f32172e8768678 (commit)
from 57b29f9b5591022cf63d8c0e1136ff9b878db664 (commit)
commit c1bf3559cc137037a5f22cf2d0f32172e8768678
Author: David Mohr <squisher at xfce.org>
Date: Mon Oct 19 21:48:49 2009 -0600
Replace old style function declarations - () with (void)
xfburn/xfburn-audio-track-gst.c | 2 +-
xfburn/xfburn-audio-track-gst.h | 2 +-
xfburn/xfburn-audio-track.c | 2 +-
xfburn/xfburn-audio-track.h | 2 +-
xfburn/xfburn-blank-dialog.c | 4 ++--
xfburn/xfburn-blank-dialog.h | 4 ++--
xfburn/xfburn-burn-audio-cd-composition-dialog.c | 2 +-
xfburn/xfburn-burn-audio-cd-composition-dialog.h | 2 +-
xfburn/xfburn-burn-data-cd-composition-dialog.c | 2 +-
xfburn/xfburn-burn-data-cd-composition-dialog.h | 2 +-
xfburn/xfburn-burn-data-composition-base-dialog.c | 2 +-
xfburn/xfburn-burn-data-composition-base-dialog.h | 2 +-
xfburn/xfburn-burn-data-dvd-composition-dialog.c | 2 +-
xfburn/xfburn-burn-data-dvd-composition-dialog.h | 2 +-
xfburn/xfburn-burn-image-dialog.c | 4 ++--
xfburn/xfburn-burn-image-dialog.h | 4 ++--
xfburn/xfburn-compositions-notebook.c | 4 ++--
xfburn/xfburn-compositions-notebook.h | 4 ++--
xfburn/xfburn-copy-cd-dialog.c | 4 ++--
xfburn/xfburn-copy-cd-dialog.h | 4 ++--
xfburn/xfburn-copy-cd-progress-dialog.c | 4 ++--
xfburn/xfburn-copy-cd-progress-dialog.h | 4 ++--
xfburn/xfburn-copy-dvd-dialog.c | 4 ++--
xfburn/xfburn-copy-dvd-dialog.h | 4 ++--
xfburn/xfburn-create-iso-progress-dialog.c | 4 ++--
xfburn/xfburn-create-iso-progress-dialog.h | 4 ++--
xfburn/xfburn-error.c | 2 +-
xfburn/xfburn-error.h | 2 +-
xfburn/xfburn-fs-browser.c | 4 ++--
xfburn/xfburn-fs-browser.h | 4 ++--
xfburn/xfburn-hal-manager.c | 12 ++++++------
xfburn/xfburn-hal-manager.h | 10 +++++-----
xfburn/xfburn-main.c | 4 ++--
xfburn/xfburn-main.h | 4 ++--
xfburn/xfburn-notebook-tab.c | 2 +-
xfburn/xfburn-notebook-tab.h | 2 +-
xfburn/xfburn-preferences-dialog.c | 4 ++--
xfburn/xfburn-preferences-dialog.h | 4 ++--
xfburn/xfburn-progress-dialog.c | 2 +-
xfburn/xfburn-progress-dialog.h | 2 +-
xfburn/xfburn-settings.c | 8 ++++----
xfburn/xfburn-settings.h | 8 ++++----
xfburn/xfburn-transcoder-basic.c | 4 ++--
xfburn/xfburn-transcoder-basic.h | 4 ++--
xfburn/xfburn-transcoder-gst.c | 4 ++--
xfburn/xfburn-transcoder-gst.h | 4 ++--
xfburn/xfburn-transcoder.c | 4 ++--
xfburn/xfburn-transcoder.h | 4 ++--
xfburn/xfburn-utils.c | 4 ++--
xfburn/xfburn-utils.h | 4 ++--
xfburn/xfburn-welcome-tab.c | 2 +-
xfburn/xfburn-welcome-tab.h | 2 +-
52 files changed, 95 insertions(+), 95 deletions(-)
diff --git a/xfburn/xfburn-audio-track-gst.c b/xfburn/xfburn-audio-track-gst.c
index 85117a3..9498ce8 100644
--- a/xfburn/xfburn-audio-track-gst.c
+++ b/xfburn/xfburn-audio-track-gst.c
@@ -29,7 +29,7 @@ void audio_track_gst_free (gpointer boxed);
/* implementations */
GType
-xfburn_audio_track_gst_get_type ()
+xfburn_audio_track_gst_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-audio-track-gst.h b/xfburn/xfburn-audio-track-gst.h
index aee01da..7de1eb8 100644
--- a/xfburn/xfburn-audio-track-gst.h
+++ b/xfburn/xfburn-audio-track-gst.h
@@ -38,7 +38,7 @@ typedef struct {
off_t size;
} XfburnAudioTrackGst;
-GType xfburn_audio_track_gst_get_type ();
+GType xfburn_audio_track_gst_get_type (void);
G_END_DECLS
diff --git a/xfburn/xfburn-audio-track.c b/xfburn/xfburn-audio-track.c
index 261307d..200be4f 100644
--- a/xfburn/xfburn-audio-track.c
+++ b/xfburn/xfburn-audio-track.c
@@ -29,7 +29,7 @@ void audio_track_free (gpointer boxed);
/* implementations */
GType
-xfburn_audio_track_get_type ()
+xfburn_audio_track_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-audio-track.h b/xfburn/xfburn-audio-track.h
index 0241535..f475c11 100644
--- a/xfburn/xfburn-audio-track.h
+++ b/xfburn/xfburn-audio-track.h
@@ -51,7 +51,7 @@ typedef struct
gpointer data;
} XfburnAudioTrack;
-GType xfburn_audio_track_get_type ();
+GType xfburn_audio_track_get_type (void);
G_END_DECLS
diff --git a/xfburn/xfburn-blank-dialog.c b/xfburn/xfburn-blank-dialog.c
index 9776e0c..4fe4eca 100644
--- a/xfburn/xfburn-blank-dialog.c
+++ b/xfburn/xfburn-blank-dialog.c
@@ -110,7 +110,7 @@ static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_blank_dialog_get_type ()
+xfburn_blank_dialog_get_type (void)
{
static GType type = 0;
@@ -531,7 +531,7 @@ cb_volume_changed (GtkWidget *device_box, gboolean device_changed, XfburnDevice
/* public */
GtkWidget *
-xfburn_blank_dialog_new ()
+xfburn_blank_dialog_new (void)
{
GtkWidget *obj;
diff --git a/xfburn/xfburn-blank-dialog.h b/xfburn/xfburn-blank-dialog.h
index 17014bd..e4cb246 100644
--- a/xfburn/xfburn-blank-dialog.h
+++ b/xfburn/xfburn-blank-dialog.h
@@ -46,8 +46,8 @@ typedef struct
XfceTitledDialogClass parent_class;
} XfburnBlankDialogClass;
-GType xfburn_blank_dialog_get_type ();
-GtkWidget *xfburn_blank_dialog_new ();
+GType xfburn_blank_dialog_get_type (void);
+GtkWidget *xfburn_blank_dialog_new (void);
GtkWidget * xfburn_blank_dialog_new_eject (gboolean eject);
G_END_DECLS
diff --git a/xfburn/xfburn-burn-audio-cd-composition-dialog.c b/xfburn/xfburn-burn-audio-cd-composition-dialog.c
index 1b513c0..e352d0d 100644
--- a/xfburn/xfburn-burn-audio-cd-composition-dialog.c
+++ b/xfburn/xfburn-burn-audio-cd-composition-dialog.c
@@ -83,7 +83,7 @@ static void cb_dialog_response (XfburnBurnAudioCdCompositionDialog * dialog, gin
static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_burn_audio_cd_composition_dialog_get_type ()
+xfburn_burn_audio_cd_composition_dialog_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-burn-audio-cd-composition-dialog.h b/xfburn/xfburn-burn-audio-cd-composition-dialog.h
index 141b857..495d095 100644
--- a/xfburn/xfburn-burn-audio-cd-composition-dialog.h
+++ b/xfburn/xfburn-burn-audio-cd-composition-dialog.h
@@ -53,7 +53,7 @@ typedef struct
XfceTitledDialogClass parent_class;
} XfburnBurnAudioCdCompositionDialogClass;
-GType xfburn_burn_audio_cd_composition_dialog_get_type ();
+GType xfburn_burn_audio_cd_composition_dialog_get_type (void);
GtkWidget *xfburn_burn_audio_cd_composition_dialog_new (GSList *tracklist);
diff --git a/xfburn/xfburn-burn-data-cd-composition-dialog.c b/xfburn/xfburn-burn-data-cd-composition-dialog.c
index 116350a..e3c3e02 100644
--- a/xfburn/xfburn-burn-data-cd-composition-dialog.c
+++ b/xfburn/xfburn-burn-data-cd-composition-dialog.c
@@ -55,7 +55,7 @@ static void xfburn_burn_data_cd_composition_dialog_finalize (GObject * object);
static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_burn_data_cd_composition_dialog_get_type ()
+xfburn_burn_data_cd_composition_dialog_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-burn-data-cd-composition-dialog.h b/xfburn/xfburn-burn-data-cd-composition-dialog.h
index 1fdad87..10f1b56 100644
--- a/xfburn/xfburn-burn-data-cd-composition-dialog.h
+++ b/xfburn/xfburn-burn-data-cd-composition-dialog.h
@@ -48,7 +48,7 @@ typedef struct
XfburnBurnDataCompositionBaseDialogClass parent_class;
} XfburnBurnDataCdCompositionDialogClass;
-GType xfburn_burn_data_cd_composition_dialog_get_type ();
+GType xfburn_burn_data_cd_composition_dialog_get_type (void);
GtkWidget *xfburn_burn_data_cd_composition_dialog_new (IsoImage *image, gboolean has_default_name);
diff --git a/xfburn/xfburn-burn-data-composition-base-dialog.c b/xfburn/xfburn-burn-data-composition-base-dialog.c
index e6d2232..d6732c4 100644
--- a/xfburn/xfburn-burn-data-composition-base-dialog.c
+++ b/xfburn/xfburn-burn-data-composition-base-dialog.c
@@ -113,7 +113,7 @@ static void cb_dialog_response (XfburnBurnDataCompositionBaseDialog * dialog, gi
static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_burn_data_composition_base_dialog_get_type ()
+xfburn_burn_data_composition_base_dialog_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-burn-data-composition-base-dialog.h b/xfburn/xfburn-burn-data-composition-base-dialog.h
index 7a54611..82260e0 100644
--- a/xfburn/xfburn-burn-data-composition-base-dialog.h
+++ b/xfburn/xfburn-burn-data-composition-base-dialog.h
@@ -53,7 +53,7 @@ typedef struct
XfceTitledDialogClass parent_class;
} XfburnBurnDataCompositionBaseDialogClass;
-GType xfburn_burn_data_composition_base_dialog_get_type ();
+GType xfburn_burn_data_composition_base_dialog_get_type (void);
GtkWidget *xfburn_burn_data_composition_base_dialog_new (IsoImage *image);
diff --git a/xfburn/xfburn-burn-data-dvd-composition-dialog.c b/xfburn/xfburn-burn-data-dvd-composition-dialog.c
index 05917a4..da4b83a 100644
--- a/xfburn/xfburn-burn-data-dvd-composition-dialog.c
+++ b/xfburn/xfburn-burn-data-dvd-composition-dialog.c
@@ -56,7 +56,7 @@ static void xfburn_burn_data_dvd_composition_dialog_finalize (GObject * object);
static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_burn_data_dvd_composition_dialog_get_type ()
+xfburn_burn_data_dvd_composition_dialog_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-burn-data-dvd-composition-dialog.h b/xfburn/xfburn-burn-data-dvd-composition-dialog.h
index afd1b1e..9c4c0d6 100644
--- a/xfburn/xfburn-burn-data-dvd-composition-dialog.h
+++ b/xfburn/xfburn-burn-data-dvd-composition-dialog.h
@@ -48,7 +48,7 @@ typedef struct
XfburnBurnDataCompositionBaseDialogClass parent_class;
} XfburnBurnDataDvdCompositionDialogClass;
-GType xfburn_burn_data_dvd_composition_dialog_get_type ();
+GType xfburn_burn_data_dvd_composition_dialog_get_type (void);
GtkWidget *xfburn_burn_data_dvd_composition_dialog_new (IsoImage *image);
diff --git a/xfburn/xfburn-burn-image-dialog.c b/xfburn/xfburn-burn-image-dialog.c
index a89eca9..08e7419 100644
--- a/xfburn/xfburn-burn-image-dialog.c
+++ b/xfburn/xfburn-burn-image-dialog.c
@@ -90,7 +90,7 @@ static void cb_clicked_ok (GtkButton * button, gpointer user_data);
static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_burn_image_dialog_get_type ()
+xfburn_burn_image_dialog_get_type (void)
{
static GType type = 0;
@@ -577,7 +577,7 @@ cb_clicked_ok (GtkButton *button, gpointer user_data)
/* public */
GtkWidget *
-xfburn_burn_image_dialog_new ()
+xfburn_burn_image_dialog_new (void)
{
GtkWidget *obj;
diff --git a/xfburn/xfburn-burn-image-dialog.h b/xfburn/xfburn-burn-image-dialog.h
index 2d1fdb6..d08073a 100644
--- a/xfburn/xfburn-burn-image-dialog.h
+++ b/xfburn/xfburn-burn-image-dialog.h
@@ -48,8 +48,8 @@ typedef struct
XfceTitledDialogClass parent_class;
} XfburnBurnImageDialogClass;
-GType xfburn_burn_image_dialog_get_type ();
-GtkWidget *xfburn_burn_image_dialog_new ();
+GType xfburn_burn_image_dialog_get_type (void);
+GtkWidget *xfburn_burn_image_dialog_new (void);
void xfburn_burn_image_dialog_set_filechooser_name (GtkWidget * dialog, gchar *name);
G_END_DECLS
diff --git a/xfburn/xfburn-compositions-notebook.c b/xfburn/xfburn-compositions-notebook.c
index f9d8087..8830723 100644
--- a/xfburn/xfburn-compositions-notebook.c
+++ b/xfburn/xfburn-compositions-notebook.c
@@ -59,7 +59,7 @@ static XfburnComposition * add_composition_with_data (XfburnCompositionsNotebook
static GtkNotebookClass *parent_class = NULL;
GType
-xfburn_compositions_notebook_get_type ()
+xfburn_compositions_notebook_get_type (void)
{
static GType type = 0;
@@ -210,7 +210,7 @@ add_composition_with_data (XfburnCompositionsNotebook *notebook, XfburnCompositi
/* public */
/**********/
GtkWidget *
-xfburn_compositions_notebook_new ()
+xfburn_compositions_notebook_new (void)
{
GtkWidget *obj;
diff --git a/xfburn/xfburn-compositions-notebook.h b/xfburn/xfburn-compositions-notebook.h
index 6821990..9f98888 100644
--- a/xfburn/xfburn-compositions-notebook.h
+++ b/xfburn/xfburn-compositions-notebook.h
@@ -48,9 +48,9 @@ typedef enum
XFBURN_AUDIO_COMPOSITION,
} XfburnCompositionType;
-GType xfburn_compositions_notebook_get_type ();
+GType xfburn_compositions_notebook_get_type (void);
-GtkWidget *xfburn_compositions_notebook_new ();
+GtkWidget *xfburn_compositions_notebook_new (void);
XfburnComposition *xfburn_compositions_notebook_add_composition (XfburnCompositionsNotebook *notebook, XfburnCompositionType type);
void xfburn_compositions_notebook_add_welcome_tab (XfburnCompositionsNotebook *notebook, GtkActionGroup *action_group);
diff --git a/xfburn/xfburn-copy-cd-dialog.c b/xfburn/xfburn-copy-cd-dialog.c
index 4eb6b6c..2681ce8 100644
--- a/xfburn/xfburn-copy-cd-dialog.c
+++ b/xfburn/xfburn-copy-cd-dialog.c
@@ -65,7 +65,7 @@ static void cb_dialog_response (XfburnCopyCdDialog * dialog, gint response_id, X
static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_copy_cd_dialog_get_type ()
+xfburn_copy_cd_dialog_get_type (void)
{
static GType type = 0;
@@ -300,7 +300,7 @@ cb_dialog_response (XfburnCopyCdDialog * dialog, gint response_id, XfburnCopyCdD
/* public */
GtkWidget *
-xfburn_copy_cd_dialog_new ()
+xfburn_copy_cd_dialog_new (void)
{
XfburnCopyCdDialog *obj;
diff --git a/xfburn/xfburn-copy-cd-dialog.h b/xfburn/xfburn-copy-cd-dialog.h
index ed4432d..671e9b0 100644
--- a/xfburn/xfburn-copy-cd-dialog.h
+++ b/xfburn/xfburn-copy-cd-dialog.h
@@ -46,9 +46,9 @@ typedef struct
XfceTitledDialogClass parent_class;
} XfburnCopyCdDialogClass;
-GType xfburn_copy_cd_dialog_get_type ();
+GType xfburn_copy_cd_dialog_get_type (void);
-GtkWidget *xfburn_copy_cd_dialog_new ();
+GtkWidget *xfburn_copy_cd_dialog_new (void);
G_END_DECLS
diff --git a/xfburn/xfburn-copy-cd-progress-dialog.c b/xfburn/xfburn-copy-cd-progress-dialog.c
index d747510..e983089 100644
--- a/xfburn/xfburn-copy-cd-progress-dialog.c
+++ b/xfburn/xfburn-copy-cd-progress-dialog.c
@@ -42,7 +42,7 @@ static void cb_new_output (XfburnCopyCdProgressDialog * dialog, const gchar * ou
static XfburnProgressDialogClass *parent_class = NULL;
GType
-xfburn_copy_cd_progress_dialog_get_type ()
+xfburn_copy_cd_progress_dialog_get_type (void)
{
static GType type = 0;
@@ -148,7 +148,7 @@ cb_new_output (XfburnCopyCdProgressDialog * dialog, const gchar * output, gpoint
/* */
GtkWidget *
-xfburn_copy_cd_progress_dialog_new ()
+xfburn_copy_cd_progress_dialog_new (void)
{
XfburnCopyCdProgressDialog *obj;
diff --git a/xfburn/xfburn-copy-cd-progress-dialog.h b/xfburn/xfburn-copy-cd-progress-dialog.h
index a92faea..06146b5 100644
--- a/xfburn/xfburn-copy-cd-progress-dialog.h
+++ b/xfburn/xfburn-copy-cd-progress-dialog.h
@@ -45,8 +45,8 @@ typedef struct {
/* Add Signal Functions Here */
} XfburnCopyCdProgressDialogClass;
-GType xfburn_copy_cd_progress_dialog_get_type ();
-GtkWidget *xfburn_copy_cd_progress_dialog_new ();
+GType xfburn_copy_cd_progress_dialog_get_type (void);
+GtkWidget *xfburn_copy_cd_progress_dialog_new (void);
G_END_DECLS
diff --git a/xfburn/xfburn-copy-dvd-dialog.c b/xfburn/xfburn-copy-dvd-dialog.c
index ab9b25f..bb7f35b 100644
--- a/xfburn/xfburn-copy-dvd-dialog.c
+++ b/xfburn/xfburn-copy-dvd-dialog.c
@@ -65,7 +65,7 @@ static void cb_dialog_response (XfburnCopyDvdDialog * dialog, gint response_id,
static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_copy_dvd_dialog_get_type ()
+xfburn_copy_dvd_dialog_get_type (void)
{
static GType type = 0;
@@ -299,7 +299,7 @@ cb_dialog_response (XfburnCopyDvdDialog * dialog, gint response_id, XfburnCopyDv
/* public */
GtkWidget *
-xfburn_copy_dvd_dialog_new ()
+xfburn_copy_dvd_dialog_new (void)
{
XfburnCopyDvdDialog *obj;
diff --git a/xfburn/xfburn-copy-dvd-dialog.h b/xfburn/xfburn-copy-dvd-dialog.h
index 53fd791..807f15a 100644
--- a/xfburn/xfburn-copy-dvd-dialog.h
+++ b/xfburn/xfburn-copy-dvd-dialog.h
@@ -46,9 +46,9 @@ typedef struct
XfceTitledDialogClass parent_class;
} XfburnCopyDvdDialogClass;
-GType xfburn_copy_dvd_dialog_get_type ();
+GType xfburn_copy_dvd_dialog_get_type (void);
-GtkWidget *xfburn_copy_dvd_dialog_new ();
+GtkWidget *xfburn_copy_dvd_dialog_new (void);
G_END_DECLS
diff --git a/xfburn/xfburn-create-iso-progress-dialog.c b/xfburn/xfburn-create-iso-progress-dialog.c
index b932c17..704c1fc 100644
--- a/xfburn/xfburn-create-iso-progress-dialog.c
+++ b/xfburn/xfburn-create-iso-progress-dialog.c
@@ -42,7 +42,7 @@ static void cb_new_output (XfburnCreateIsoProgressDialog * dialog, const gchar *
static XfburnProgressDialogClass *parent_class = NULL;
GType
-xfburn_create_iso_progress_dialog_get_type ()
+xfburn_create_iso_progress_dialog_get_type (void)
{
static GType type = 0;
@@ -109,7 +109,7 @@ cb_new_output (XfburnCreateIsoProgressDialog * dialog, const gchar * output, gpo
/* */
GtkWidget *
-xfburn_create_iso_progress_dialog_new ()
+xfburn_create_iso_progress_dialog_new (void)
{
XfburnCreateIsoProgressDialog *obj;
diff --git a/xfburn/xfburn-create-iso-progress-dialog.h b/xfburn/xfburn-create-iso-progress-dialog.h
index e6e1c75..4bbf865 100644
--- a/xfburn/xfburn-create-iso-progress-dialog.h
+++ b/xfburn/xfburn-create-iso-progress-dialog.h
@@ -47,8 +47,8 @@ typedef struct
/* Add Signal Functions Here */
} XfburnCreateIsoProgressDialogClass;
-GType xfburn_create_iso_progress_dialog_get_type ();
-GtkWidget *xfburn_create_iso_progress_dialog_new ();
+GType xfburn_create_iso_progress_dialog_get_type (void);
+GtkWidget *xfburn_create_iso_progress_dialog_new (void);
G_END_DECLS
diff --git a/xfburn/xfburn-error.c b/xfburn/xfburn-error.c
index 35e54d7..5883182 100644
--- a/xfburn/xfburn-error.c
+++ b/xfburn/xfburn-error.c
@@ -23,7 +23,7 @@
#include "xfburn-error.h"
GQuark
-xfburn_error_quark ()
+xfburn_error_quark (void)
{
return g_quark_from_static_string ("xfburn-error-quark");
}
diff --git a/xfburn/xfburn-error.h b/xfburn/xfburn-error.h
index d1c4563..59f5acc 100644
--- a/xfburn/xfburn-error.h
+++ b/xfburn/xfburn-error.h
@@ -46,6 +46,6 @@ typedef enum
#define XFBURN_ERROR xfburn_error_quark ()
-GQuark xfburn_error_quark ();
+GQuark xfburn_error_quark (void);
#endif /* __XFBURN_ERROR_H__ */
diff --git a/xfburn/xfburn-fs-browser.c b/xfburn/xfburn-fs-browser.c
index dcde5da..58d37b0 100644
--- a/xfburn/xfburn-fs-browser.c
+++ b/xfburn/xfburn-fs-browser.c
@@ -46,7 +46,7 @@ static void cb_browser_drag_data_get (GtkWidget *, GdkDragContext *, GtkSelectio
static ExoTreeViewClass *parent_class = NULL;
GType
-xfburn_fs_browser_get_type ()
+xfburn_fs_browser_get_type (void)
{
static GType type = 0;
@@ -235,7 +235,7 @@ cb_browser_drag_data_get (GtkWidget * widget, GdkDragContext * dc,
/* public methods */
GtkWidget *
-xfburn_fs_browser_new ()
+xfburn_fs_browser_new (void)
{
return g_object_new (XFBURN_TYPE_FS_BROWSER, NULL);
}
diff --git a/xfburn/xfburn-fs-browser.h b/xfburn/xfburn-fs-browser.h
index 5256e5a..6024729 100644
--- a/xfburn/xfburn-fs-browser.h
+++ b/xfburn/xfburn-fs-browser.h
@@ -54,9 +54,9 @@ enum
FS_BROWSER_N_COLUMNS
};
-GType xfburn_fs_browser_get_type ();
+GType xfburn_fs_browser_get_type (void);
-GtkWidget *xfburn_fs_browser_new ();
+GtkWidget *xfburn_fs_browser_new (void);
void xfburn_fs_browser_refresh (XfburnFsBrowser *browser);
gchar * xfburn_fs_browser_get_selection (XfburnFsBrowser *browser);
diff --git a/xfburn/xfburn-hal-manager.c b/xfburn/xfburn-hal-manager.c
index b01ad87..014b2c2 100644
--- a/xfburn/xfburn-hal-manager.c
+++ b/xfburn/xfburn-hal-manager.c
@@ -79,7 +79,7 @@ static XfburnProgressDialogClass *parent_class = NULL;
static guint signals[LAST_SIGNAL];
GType
-xfburn_hal_manager_get_type ()
+xfburn_hal_manager_get_type (void)
{
static GType type = 0;
@@ -256,7 +256,7 @@ static void cb_prop_modified (LibHalContext *ctx, const char *udi,
}
GObject *
-xfburn_hal_manager_new ()
+xfburn_hal_manager_new (void)
{
if (G_UNLIKELY (halman != NULL))
g_error ("Trying to create a second instance of hal manager!");
@@ -268,7 +268,7 @@ xfburn_hal_manager_new ()
/* */
gchar *
-xfburn_hal_manager_create_global ()
+xfburn_hal_manager_create_global (void)
{
XfburnHalManagerPrivate *priv;
@@ -289,7 +289,7 @@ xfburn_hal_manager_create_global ()
}
XfburnHalManager *
-xfburn_hal_manager_get_global ()
+xfburn_hal_manager_get_global (void)
{
if (G_UNLIKELY (halman == NULL))
g_error ("There is no instance of a hal manager!");
@@ -297,7 +297,7 @@ xfburn_hal_manager_get_global ()
}
void
-xfburn_hal_manager_shutdown ()
+xfburn_hal_manager_shutdown (void)
{
if (G_UNLIKELY (halman == NULL))
g_error ("There is no instance of a hal manager!");
@@ -306,7 +306,7 @@ xfburn_hal_manager_shutdown ()
}
void
-xfburn_hal_manager_send_volume_changed ()
+xfburn_hal_manager_send_volume_changed (void)
{
//gdk_threads_enter ();
g_signal_emit (halman, signals[VOLUME_CHANGED], 0);
diff --git a/xfburn/xfburn-hal-manager.h b/xfburn/xfburn-hal-manager.h
index da10af6..89bdcf9 100644
--- a/xfburn/xfburn-hal-manager.h
+++ b/xfburn/xfburn-hal-manager.h
@@ -52,12 +52,12 @@ typedef struct
void (*volume_changed) (XfburnHalManager *halman);
} XfburnHalManagerClass;
-GType xfburn_hal_manager_get_type ();
+GType xfburn_hal_manager_get_type (void);
//GObject *xfburn_hal_manager_new (); /* use _create_global / _get_instance instead */
-gchar *xfburn_hal_manager_create_global ();
-XfburnHalManager * xfburn_hal_manager_get_global ();
-void xfburn_hal_manager_shutdown ();
-void xfburn_hal_manager_send_volume_changed ();
+gchar *xfburn_hal_manager_create_global (void);
+XfburnHalManager * xfburn_hal_manager_get_global (void);
+void xfburn_hal_manager_shutdown (void);
+void xfburn_hal_manager_send_volume_changed (void);
int xfburn_hal_manager_get_devices (XfburnHalManager *halman, GList **devices);
gboolean xfburn_hal_manager_check_ask_umount (XfburnHalManager *halman, XfburnDevice *device);
diff --git a/xfburn/xfburn-main.c b/xfburn/xfburn-main.c
index 192d2aa..068f18a 100644
--- a/xfburn/xfburn-main.c
+++ b/xfburn/xfburn-main.c
@@ -99,7 +99,7 @@ static GOptionEntry optionentries[] = {
/* public functions */
void
-xfburn_main_enter_window ()
+xfburn_main_enter_window (void)
{
/* if a main window is present, then it is in control */
if (window_counter != -42)
@@ -107,7 +107,7 @@ xfburn_main_enter_window ()
}
void
-xfburn_main_leave_window ()
+xfburn_main_leave_window (void)
{
/* if a main window is present, then it is in control */
if (window_counter == -42)
diff --git a/xfburn/xfburn-main.h b/xfburn/xfburn-main.h
index d803546..69a421c 100644
--- a/xfburn/xfburn-main.h
+++ b/xfburn/xfburn-main.h
@@ -25,8 +25,8 @@
G_BEGIN_DECLS
-void xfburn_main_leave_window ();
-void xfburn_main_enter_window ();
+void xfburn_main_leave_window (void);
+void xfburn_main_enter_window (void);
#if 0 /* INITIAL_DIRECTORY_OPTION */
const gchar *xfburn_main_get_initial_dir ();
#endif
diff --git a/xfburn/xfburn-notebook-tab.c b/xfburn/xfburn-notebook-tab.c
index 369bc42..a08677b 100644
--- a/xfburn/xfburn-notebook-tab.c
+++ b/xfburn/xfburn-notebook-tab.c
@@ -63,7 +63,7 @@ static guint notebook_tab_signals[LAST_SIGNAL];
/* class initiliazation */
/************************/
GType
-xfburn_notebook_tab_get_type ()
+xfburn_notebook_tab_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-notebook-tab.h b/xfburn/xfburn-notebook-tab.h
index 140ac3c..f4b748c 100644
--- a/xfburn/xfburn-notebook-tab.h
+++ b/xfburn/xfburn-notebook-tab.h
@@ -42,7 +42,7 @@ typedef struct
void (*button_close_clicked) (XfburnNotebookTab *tab);
} XfburnNotebookTabClass;
-GType xfburn_notebook_tab_get_type ();
+GType xfburn_notebook_tab_get_type (void);
GtkWidget *xfburn_notebook_tab_new (const gchar *label, gboolean show_button_close);
diff --git a/xfburn/xfburn-preferences-dialog.c b/xfburn/xfburn-preferences-dialog.c
index c5081e1..31e6322 100644
--- a/xfburn/xfburn-preferences-dialog.c
+++ b/xfburn/xfburn-preferences-dialog.c
@@ -87,7 +87,7 @@ typedef struct
static XfceTitledDialogClass *parent_class = NULL;
GType
-xfburn_preferences_dialog_get_type ()
+xfburn_preferences_dialog_get_type (void)
{
static GType type = 0;
@@ -465,7 +465,7 @@ cb_show_hidden_clicked (GtkButton * Button, gpointer user_data)
/* public */
GtkWidget *
-xfburn_preferences_dialog_new ()
+xfburn_preferences_dialog_new (void)
{
GtkWidget *obj;
diff --git a/xfburn/xfburn-preferences-dialog.h b/xfburn/xfburn-preferences-dialog.h
index 4e0b68b..5130c74 100644
--- a/xfburn/xfburn-preferences-dialog.h
+++ b/xfburn/xfburn-preferences-dialog.h
@@ -43,8 +43,8 @@ typedef struct
-GType xfburn_preferences_dialog_get_type ();
-GtkWidget *xfburn_preferences_dialog_new ();
+GType xfburn_preferences_dialog_get_type (void);
+GtkWidget *xfburn_preferences_dialog_new (void);
G_END_DECLS
diff --git a/xfburn/xfburn-progress-dialog.c b/xfburn/xfburn-progress-dialog.c
index 3706504..b3a145b 100644
--- a/xfburn/xfburn-progress-dialog.c
+++ b/xfburn/xfburn-progress-dialog.c
@@ -111,7 +111,7 @@ xfburn_progress_dialog_status_get_type (void)
static GtkDialogClass *parent_class = NULL;
GType
-xfburn_progress_dialog_get_type ()
+xfburn_progress_dialog_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-progress-dialog.h b/xfburn/xfburn-progress-dialog.h
index 94169d1..7c1e47e 100644
--- a/xfburn/xfburn-progress-dialog.h
+++ b/xfburn/xfburn-progress-dialog.h
@@ -61,7 +61,7 @@ typedef struct
} XfburnProgressDialogClass;
-GType xfburn_progress_dialog_get_type ();
+GType xfburn_progress_dialog_get_type (void);
void xfburn_progress_dialog_show_buffers (XfburnProgressDialog * dialog, gboolean show);
void xfburn_progress_dialog_pulse_progress_bar (XfburnProgressDialog * dialog);
diff --git a/xfburn/xfburn-settings.c b/xfburn/xfburn-settings.c
index 1e4676b..5003c5a 100644
--- a/xfburn/xfburn-settings.c
+++ b/xfburn/xfburn-settings.c
@@ -83,7 +83,7 @@ static GObjectClass *parent_class = NULL;
static XfburnSettings *instance = NULL;
GType
-xfburn_settings_get_type ()
+xfburn_settings_get_type (void)
{
static GType type = 0;
@@ -341,7 +341,7 @@ get_instance ()
/* public methods */
/******************/
void
-xfburn_settings_init ()
+xfburn_settings_init (void)
{
if (G_LIKELY (instance == NULL)) {
XfburnSettingsPrivate *priv;
@@ -358,7 +358,7 @@ xfburn_settings_init ()
}
void
-xfburn_settings_flush ()
+xfburn_settings_flush (void)
{
XfburnSettings *instance = get_instance ();
XfburnSettingsPrivate *priv = XFBURN_SETTINGS_GET_PRIVATE (instance);
@@ -367,7 +367,7 @@ xfburn_settings_flush ()
}
void
-xfburn_settings_free ()
+xfburn_settings_free (void)
{
XfburnSettings *instance = get_instance ();
diff --git a/xfburn/xfburn-settings.h b/xfburn/xfburn-settings.h
index a674d5e..b25e7d5 100644
--- a/xfburn/xfburn-settings.h
+++ b/xfburn/xfburn-settings.h
@@ -45,11 +45,11 @@ typedef struct
GObjectClass parent_class;
} XfburnSettingsClass;
-GType xfburn_settings_get_type ();
+GType xfburn_settings_get_type (void);
-void xfburn_settings_init ();
-void xfburn_settings_free ();
-void xfburn_settings_flush ();
+void xfburn_settings_init (void);
+void xfburn_settings_free (void);
+void xfburn_settings_flush (void);
gint xfburn_settings_get_boolean (const gchar *key, gboolean fallback);
gint xfburn_settings_get_int (const gchar *key, gint fallback);
diff --git a/xfburn/xfburn-transcoder-basic.c b/xfburn/xfburn-transcoder-basic.c
index b1ba774..d9aeb4d 100644
--- a/xfburn/xfburn-transcoder-basic.c
+++ b/xfburn/xfburn-transcoder-basic.c
@@ -83,7 +83,7 @@ static GObject *parent_class = NULL;
//static guint signals[LAST_SIGNAL];
GType
-xfburn_transcoder_basic_get_type ()
+xfburn_transcoder_basic_get_type (void)
{
static GType type = 0;
@@ -366,7 +366,7 @@ needs_swap (char header[44])
/* */
GObject *
-xfburn_transcoder_basic_new ()
+xfburn_transcoder_basic_new (void)
{
return g_object_new (XFBURN_TYPE_TRANSCODER_BASIC, NULL);
}
diff --git a/xfburn/xfburn-transcoder-basic.h b/xfburn/xfburn-transcoder-basic.h
index ede65ec..a2027a5 100644
--- a/xfburn/xfburn-transcoder-basic.h
+++ b/xfburn/xfburn-transcoder-basic.h
@@ -48,8 +48,8 @@ typedef struct
} XfburnTranscoderBasicClass;
-GType xfburn_transcoder_basic_get_type ();
-GObject *xfburn_transcoder_basic_new ();
+GType xfburn_transcoder_basic_get_type (void);
+GObject *xfburn_transcoder_basic_new (void);
G_END_DECLS
diff --git a/xfburn/xfburn-transcoder-gst.c b/xfburn/xfburn-transcoder-gst.c
index 6ef1f49..363ae70 100644
--- a/xfburn/xfburn-transcoder-gst.c
+++ b/xfburn/xfburn-transcoder-gst.c
@@ -155,7 +155,7 @@ static GObject *parent_class = NULL;
//static guint signals[LAST_SIGNAL];
GType
-xfburn_transcoder_gst_get_type ()
+xfburn_transcoder_gst_get_type (void)
{
static GType type = 0;
@@ -1025,7 +1025,7 @@ is_initialized (XfburnTranscoder *trans, GError **error)
/* */
GObject *
-xfburn_transcoder_gst_new ()
+xfburn_transcoder_gst_new (void)
{
return g_object_new (XFBURN_TYPE_TRANSCODER_GST, NULL);
}
diff --git a/xfburn/xfburn-transcoder-gst.h b/xfburn/xfburn-transcoder-gst.h
index e99b4ad..1d0ad87 100644
--- a/xfburn/xfburn-transcoder-gst.h
+++ b/xfburn/xfburn-transcoder-gst.h
@@ -50,8 +50,8 @@ typedef struct
} XfburnTranscoderGstClass;
-GType xfburn_transcoder_gst_get_type ();
-GObject *xfburn_transcoder_gst_new ();
+GType xfburn_transcoder_gst_get_type (void);
+GObject *xfburn_transcoder_gst_new (void);
G_END_DECLS
diff --git a/xfburn/xfburn-transcoder.c b/xfburn/xfburn-transcoder.c
index b647d9b..64a721e 100644
--- a/xfburn/xfburn-transcoder.c
+++ b/xfburn/xfburn-transcoder.c
@@ -44,7 +44,7 @@ XfburnTranscoder *transcoder = NULL;
//static guint signals[LAST_SIGNAL];
GType
-xfburn_transcoder_get_type ()
+xfburn_transcoder_get_type (void)
{
static GType type = 0;
@@ -225,7 +225,7 @@ xfburn_transcoder_set_global (XfburnTranscoder *trans)
}
XfburnTranscoder *
-xfburn_transcoder_get_global ()
+xfburn_transcoder_get_global (void)
{
g_object_ref (transcoder);
return transcoder;
diff --git a/xfburn/xfburn-transcoder.h b/xfburn/xfburn-transcoder.h
index 6e695ce..3fe2335 100644
--- a/xfburn/xfburn-transcoder.h
+++ b/xfburn/xfburn-transcoder.h
@@ -58,10 +58,10 @@ typedef struct
} XfburnTranscoderInterface;
-GType xfburn_transcoder_get_type ();
+GType xfburn_transcoder_get_type (void);
void xfburn_transcoder_set_global (XfburnTranscoder *trans);
-XfburnTranscoder *xfburn_transcoder_get_global ();
+XfburnTranscoder *xfburn_transcoder_get_global (void);
const gchar *xfburn_transcoder_get_name (XfburnTranscoder *trans);
const gchar *xfburn_transcoder_get_description (XfburnTranscoder *trans);
diff --git a/xfburn/xfburn-utils.c b/xfburn/xfburn-utils.c
index a3cd58f..6026d97 100644
--- a/xfburn/xfburn-utils.c
+++ b/xfburn/xfburn-utils.c
@@ -181,7 +181,7 @@ xfburn_ask_yes_no (GtkMessageType type, const gchar *primary_text, const gchar *
static char * libburn_msg_prefix = "libburn-";
void
-xfburn_capture_libburn_messages ()
+xfburn_capture_libburn_messages (void)
{
int ret;
@@ -196,7 +196,7 @@ xfburn_capture_libburn_messages ()
}
void
-xfburn_console_libburn_messages ()
+xfburn_console_libburn_messages (void)
{
int ret;
diff --git a/xfburn/xfburn-utils.h b/xfburn/xfburn-utils.h
index d7a398a..fbf465d 100644
--- a/xfburn/xfburn-utils.h
+++ b/xfburn/xfburn-utils.h
@@ -37,7 +37,7 @@ void xfburn_browse_for_file (GtkEntry *entry, GtkWindow *parent);
gboolean xfburn_ask_yes_no (GtkMessageType type, const gchar *primary_text, const gchar *secondary_text);
-void xfburn_capture_libburn_messages ();
-void xfburn_console_libburn_messages ();
+void xfburn_capture_libburn_messages (void);
+void xfburn_console_libburn_messages (void);
#endif
diff --git a/xfburn/xfburn-welcome-tab.c b/xfburn/xfburn-welcome-tab.c
index b12645e..2bfe1b5 100644
--- a/xfburn/xfburn-welcome-tab.c
+++ b/xfburn/xfburn-welcome-tab.c
@@ -69,7 +69,7 @@ static void blank_disc (GtkButton *button, XfburnWelcomeTab *tab);
static GtkWidget *parent_class = NULL;
GType
-xfburn_welcome_tab_get_type ()
+xfburn_welcome_tab_get_type (void)
{
static GType type = 0;
diff --git a/xfburn/xfburn-welcome-tab.h b/xfburn/xfburn-welcome-tab.h
index 85255f3..3805b7c 100644
--- a/xfburn/xfburn-welcome-tab.h
+++ b/xfburn/xfburn-welcome-tab.h
@@ -47,7 +47,7 @@ typedef struct
GtkVBoxClass parent_class;
} XfburnWelcomeTabClass;
-GType xfburn_welcome_tab_get_type ();
+GType xfburn_welcome_tab_get_type (void);
GtkWidget *xfburn_welcome_tab_new (XfburnCompositionsNotebook *notebook, GtkActionGroup *action_group);
G_END_DECLS
More information about the Xfce4-commits
mailing list