diff options
| -rw-r--r-- | libcaja-private/caja-progress-info.c | 12 | ||||
| -rw-r--r-- | libcaja-private/caja-search-engine-simple.c | 2 | ||||
| -rw-r--r-- | src/caja-application.c | 3 | 
3 files changed, 9 insertions, 8 deletions
| diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c index dc4d139b..3ade6cda 100644 --- a/libcaja-private/caja-progress-info.c +++ b/libcaja-private/caja-progress-info.c @@ -229,7 +229,7 @@ status_icon_activate_cb (GtkStatusIcon *icon,  /* Creates a Singleton progress_window */  static GtkWidget * -get_progress_window () +get_progress_window (void)  {      static GtkWidget *progress_window = NULL;      GtkWidget *vbox; @@ -350,7 +350,7 @@ update_data (ProgressWidgetData *data)  /* You should always check return value */  static GtkWidget * -get_widgets_container () +get_widgets_container (void)  {      GtkWidget * window = get_progress_window ();      return gtk_bin_get_child (GTK_BIN (window)); @@ -366,7 +366,7 @@ foreach_get_running_operations (GtkWidget * widget, int * n)  }  static int -get_running_operations () +get_running_operations (void)  {      GtkWidget * container = get_widgets_container();      int n = 0; @@ -391,7 +391,7 @@ foreach_get_queued_widget (GtkWidget * widget, GtkWidget ** out)  }  static GtkWidget * -get_first_queued_widget () +get_first_queued_widget (void)  {      GtkWidget * container = get_widgets_container();      GtkWidget * out = NULL; @@ -534,7 +534,7 @@ widget_reposition_as_running (GtkWidget * widget)      }  } -static void update_queue (); +static void update_queue (void);  static void  widget_state_transit_to (ProgressWidgetData *data, @@ -566,7 +566,7 @@ widget_state_transit_to (ProgressWidgetData *data,  }  static void -update_queue () +update_queue (void)  {      if (get_running_operations () == 0) {          GtkWidget *next; diff --git a/libcaja-private/caja-search-engine-simple.c b/libcaja-private/caja-search-engine-simple.c index b7a985d4..cdf7ef91 100644 --- a/libcaja-private/caja-search-engine-simple.c +++ b/libcaja-private/caja-search-engine-simple.c @@ -342,7 +342,7 @@ file_has_all_tags (GFileInfo *info, GList *tags)  }  static inline gboolean -check_odt2txt () { +check_odt2txt (void) {      gboolean rc = TRUE;      int exit = 0;      gchar *output = NULL; diff --git a/src/caja-application.c b/src/caja-application.c index d2356070..9649affd 100644 --- a/src/caja-application.c +++ b/src/caja-application.c @@ -218,8 +218,9 @@ caja_application_smclient_startup (CajaApplication *self)  }  static void -caja_empty_callback_to_ensure_read() { +caja_empty_callback_to_ensure_read (CajaApplication *self) {  /*do nothing, just exist to suppress runtime error*/ +    (void) self;  }  static void | 
