mirror of
https://github.com/davatorium/rofi.git
synced 2025-03-10 17:06:37 -04:00
Use FALSE instead of false.
This commit is contained in:
parent
39f231b5ff
commit
f9491690fd
2 changed files with 6 additions and 6 deletions
|
@ -377,7 +377,7 @@ static gboolean exec_dbus_entry(DRunModeEntry *e, const char *path) {
|
|||
if (!session) {
|
||||
g_warning("unable to connect to D-Bus: %s\n", error->message);
|
||||
g_error_free(error);
|
||||
return false;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
object_path = app_path_for_id(e->app_id);
|
||||
|
@ -409,10 +409,10 @@ static gboolean exec_dbus_entry(DRunModeEntry *e, const char *path) {
|
|||
error->message);
|
||||
g_error_free(error);
|
||||
g_object_unref(session);
|
||||
return false;
|
||||
return FALSE;
|
||||
}
|
||||
g_object_unref(session);
|
||||
return true;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void exec_cmd_entry(DRunModeEntry *e, const char *path) {
|
||||
|
@ -487,11 +487,11 @@ static void exec_cmd_entry(DRunModeEntry *e, const char *path) {
|
|||
/**
|
||||
* If its required to launch via dbus, do that.
|
||||
*/
|
||||
gboolean launched = false;
|
||||
gboolean launched = FALSE;
|
||||
if (g_key_file_get_boolean(e->key_file, e->action, "DBusActivatable", NULL)) {
|
||||
launched = exec_dbus_entry(e, path);
|
||||
}
|
||||
if (launched == false) {
|
||||
if (launched == FALSE) {
|
||||
/** Fallback to old style if not set. */
|
||||
|
||||
// Returns false if not found, if key not found, we don't want run in
|
||||
|
|
|
@ -1368,7 +1368,7 @@ static void update_callback(textbox *t, icon *ico, unsigned int index,
|
|||
textbox_font(t, *type);
|
||||
}
|
||||
}
|
||||
static void page_changed_callback() {
|
||||
static void page_changed_callback(void) {
|
||||
rofi_view_workers_finalize();
|
||||
rofi_view_workers_initialize();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue