summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-desktop-item.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:50:56 +0200
committerraveit65 <[email protected]>2021-12-11 15:29:43 +0100
commit03e38ada456be8fecd04fde9fa6a8293816292aa (patch)
treeedea823dde15fd6e9726246785e9f303f3777ede /libmate-desktop/mate-desktop-item.c
parentbc46804cd6dd0da229a4b84c3cfca73c7ef44f90 (diff)
downloadmate-desktop-03e38ada456be8fecd04fde9fa6a8293816292aa.tar.bz2
mate-desktop-03e38ada456be8fecd04fde9fa6a8293816292aa.tar.xz
Use a blank line at most
Diffstat (limited to 'libmate-desktop/mate-desktop-item.c')
-rw-r--r--libmate-desktop/mate-desktop-item.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libmate-desktop/mate-desktop-item.c b/libmate-desktop/mate-desktop-item.c
index 7e02347..1880fee 100644
--- a/libmate-desktop/mate-desktop-item.c
+++ b/libmate-desktop/mate-desktop-item.c
@@ -414,7 +414,6 @@ copy_string_hash (gpointer key, gpointer value, gpointer user_data)
g_strdup (value));
}
-
/**
* mate_desktop_item_copy:
* @item: The item to be copied
@@ -509,7 +508,6 @@ make_fake_directory (GFile *dir)
mate_desktop_item_set_entry_type (item,
MATE_DESKTOP_ITEM_TYPE_DIRECTORY);
-
item->mtime = DONT_UPDATE_MTIME; /* it doesn't exist, we know that */
child = g_file_get_child (dir, ".directory");
mate_desktop_item_set_location_gfile (item, child);
@@ -976,7 +974,6 @@ key_basename (const char *key)
return key;
}
-
static const char *
lookup (const MateDesktopItem *item, const char *key)
{
@@ -1824,7 +1821,6 @@ ditem_execute (const MateDesktopItem *item,
sn_error_trap_push,
sn_error_trap_pop);
-
/* Only initiate notification if desktop file supports it.
* (we could avoid setting up the SnLauncherContext if we aren't going
* to initiate, but why bother)
@@ -1977,7 +1973,6 @@ ditem_execute (const MateDesktopItem *item,
}
#endif
-
if ( ! g_spawn_async (working_dir,
real_argv,
envp,
@@ -2059,7 +2054,6 @@ strip_the_amp (char *exec)
return TRUE;
}
-
static int
mate_desktop_item_launch_on_screen_with_env (
const MateDesktopItem *item,
@@ -2109,7 +2103,6 @@ mate_desktop_item_launch_on_screen_with_env (
return -1;
}
-
if (exec == NULL ||
exec[0] == '\0') {
g_set_error (error,
@@ -2119,7 +2112,6 @@ mate_desktop_item_launch_on_screen_with_env (
return -1;
}
-
/* make a new copy and get rid of spaces */
the_exec = g_alloca (strlen (exec) + 1);
g_strlcpy (the_exec, exec, strlen (exec) + 1);
@@ -2436,8 +2428,6 @@ mate_desktop_item_set_entry_type (MateDesktopItem *item,
}
}
-
-
/**
* mate_desktop_item_get_file_status:
* @item: A desktop item
@@ -2526,7 +2516,6 @@ mate_desktop_item_find_icon (GtkIconTheme *icon_theme,
*p = 0;
}
-
info = gtk_icon_theme_lookup_icon (icon_theme,
icon_no_extension,
desired_size,
@@ -3062,7 +3051,6 @@ cannonize (const char *key, const char *value)
return NULL;
}
-
static char *
decode_string_and_dup (const char *s)
{
@@ -3448,7 +3436,6 @@ insert_key (MateDesktopItem *item,
}
}
-
if (cur_section == NULL) {
/* only add to list if we haven't seen it before */
if (g_hash_table_lookup (item->main_hash, k) == NULL) {
@@ -3521,7 +3508,6 @@ try_english_key (MateDesktopItem *item, const char *key)
return str;
}
-
static void
sanitize (MateDesktopItem *item, const char *uri)
{