gcal-utils: Combine GNOME Settings launchers
This refactor combines the functions gcal_utils_launch_online_accounts_panel and gcal_utils_launch_datetime_settings_panel into a single function that takes a panel ID as an argument.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
3526cadcca
commit
aec45594f9
@@ -120,13 +120,9 @@ GList* filter_children_by_uid_and_modtype (GtkWidget
|
||||
GcalRecurrenceModType mod,
|
||||
const gchar *uid);
|
||||
|
||||
void gcal_utils_launch_date_time_settings_panel (GDBusConnection *connection,
|
||||
const gchar *action,
|
||||
const gchar *arg);
|
||||
|
||||
void gcal_utils_launch_online_accounts_panel (GDBusConnection *connection,
|
||||
const gchar *action,
|
||||
const gchar *arg);
|
||||
void gcal_utils_launch_gnome_settings (GDBusConnection *connection,
|
||||
const gchar *panel_id,
|
||||
const gchar *action);
|
||||
|
||||
gchar* gcal_utils_format_filename_for_display (const gchar *filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user