diff options
-rw-r--r-- | src/default-applications.c | 6 | ||||
-rw-r--r-- | src/default-applications.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/default-applications.c b/src/default-applications.c index f1b11c0..5fd6612 100644 --- a/src/default-applications.c +++ b/src/default-applications.c @@ -37,7 +37,7 @@ struct default_db_t default_db[] = { }; static struct default_db_t * -get_default_helper (gchar * desktop_path) +get_default_helper (const gchar * desktop_path) { g_return_val_if_fail(desktop_path != NULL, NULL); gchar * basename = g_path_get_basename(desktop_path); @@ -60,7 +60,7 @@ get_default_helper (gchar * desktop_path) } const gchar * -get_default_name (gchar * desktop_path) +get_default_name (const gchar * desktop_path) { struct default_db_t * db = get_default_helper(desktop_path); @@ -70,7 +70,7 @@ get_default_name (gchar * desktop_path) } const gchar * -get_default_setup (gchar * desktop_path) +get_default_setup (const gchar * desktop_path) { struct default_db_t * db = get_default_helper(desktop_path); diff --git a/src/default-applications.h b/src/default-applications.h index f5d00c4..13cc904 100644 --- a/src/default-applications.h +++ b/src/default-applications.h @@ -22,8 +22,8 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #ifndef DEFAULT_APPLICATIONS_H__ #define DEFAULT_APPLICATIONS_H__ 1 -const gchar * get_default_name (gchar * desktop_path); -const gchar * get_default_setup (gchar * desktop_path); +const gchar * get_default_name (const gchar * desktop_path); +const gchar * get_default_setup (const gchar * desktop_path); #endif /* DEFAULT_APPLICATIONS_H__ */ |