summaryrefslogtreecommitdiff
path: root/thunar/thunar-renamer-model.c
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2012-09-30 15:43:20 +0200
committerNick Schermer <nick@xfce.org>2012-09-30 15:43:20 +0200
commite121ed80d9bfba8b133ca1943f76ad48bcab9b76 (patch)
treefe6fcdfa18b6c962678d4be029f9c49d24bb9dde /thunar/thunar-renamer-model.c
parentedc8e5da5777813956cd8b30a4f64f586c97a3ee (diff)
downloadthunar-e121ed80d9bfba8b133ca1943f76ad48bcab9b76.tar.gz
Remove unused functions or make them static.
Diffstat (limited to 'thunar/thunar-renamer-model.c')
-rw-r--r--thunar/thunar-renamer-model.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/thunar/thunar-renamer-model.c b/thunar/thunar-renamer-model.c
index f8a992f4..a85453d6 100644
--- a/thunar/thunar-renamer-model.c
+++ b/thunar/thunar-renamer-model.c
@@ -123,6 +123,12 @@ static void thunar_renamer_model_item_free (gpointe
static gint thunar_renamer_model_cmp_array (gconstpointer pointer_a,
gconstpointer pointer_b,
gpointer user_data);
+static gboolean thunar_renamer_model_get_can_rename (ThunarRenamerModel *renamer_model);
+static gboolean thunar_renamer_model_get_frozen (ThunarRenamerModel *renamer_model);
+static void thunar_renamer_model_set_frozen (ThunarRenamerModel *renamer_model,
+ gboolean frozen);
+static void thunar_renamer_model_set_mode (ThunarRenamerModel *renamer_model,
+ ThunarRenamerMode mode);
@@ -1034,7 +1040,7 @@ thunar_renamer_model_new (void)
*
* Return value: %TRUE if bulk rename can be performed.
**/
-gboolean
+static gboolean
thunar_renamer_model_get_can_rename (ThunarRenamerModel *renamer_model)
{
gboolean can_rename = FALSE;
@@ -1072,7 +1078,7 @@ thunar_renamer_model_get_can_rename (ThunarRenamerModel *renamer_model)
*
* Return value: %TRUE if @renamer_model is frozen.
**/
-gboolean
+static gboolean
thunar_renamer_model_get_frozen (ThunarRenamerModel *renamer_model)
{
_thunar_return_val_if_fail (THUNAR_IS_RENAMER_MODEL (renamer_model), FALSE);
@@ -1090,7 +1096,7 @@ thunar_renamer_model_get_frozen (ThunarRenamerModel *renamer_model)
* and no updates will be processed until you call this method again with a
* value of %FALSE for @frozen.
**/
-void
+static void
thunar_renamer_model_set_frozen (ThunarRenamerModel *renamer_model,
gboolean frozen)
{
@@ -1154,7 +1160,7 @@ thunar_renamer_model_get_mode (ThunarRenamerModel *renamer_model)
* Sets the rename operation mode of @renamer_model
* to @mode and updates all items.
**/
-void
+static void
thunar_renamer_model_set_mode (ThunarRenamerModel *renamer_model,
ThunarRenamerMode mode)
{