refacor media widget, apply clang format rule
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
|
||||
class TrayService : public DbusConnection {
|
||||
inline static TrayService *instance = nullptr;
|
||||
|
||||
public:
|
||||
struct Item {
|
||||
std::string id;
|
||||
@@ -66,7 +67,7 @@ class TrayService : public DbusConnection {
|
||||
if (TrayService::instance == nullptr) {
|
||||
TrayService::instance = new TrayService();
|
||||
}
|
||||
|
||||
|
||||
return TrayService::instance;
|
||||
}
|
||||
|
||||
@@ -137,7 +138,7 @@ class TrayService : public DbusConnection {
|
||||
void begin_refresh(const std::string &id);
|
||||
static gboolean refresh_timeout_cb(gpointer user_data);
|
||||
static void on_refresh_finished_static(GObject *source, GAsyncResult *res,
|
||||
gpointer user_data);
|
||||
gpointer user_data);
|
||||
void emit_registered_items_changed();
|
||||
|
||||
Glib::Variant<std::vector<Glib::ustring>>
|
||||
|
||||
Reference in New Issue
Block a user