[nautilus/wip/antoniof/experimental-gtk4-build: 44/52] Final leftovers -- IT BUILDS NOW
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/experimental-gtk4-build: 44/52] Final leftovers -- IT BUILDS NOW
- Date: Fri, 31 Dec 2021 23:58:46 +0000 (UTC)
commit cfaf7a406787cf14e668a161c5909d7788a6bcbc
Author: António Fernandes <antoniof gnome org>
Date: Fri Dec 31 18:01:09 2021 +0000
Final leftovers -- IT BUILDS NOW
src/nautilus-mime-actions.c | 2 +-
src/nautilus-query-editor.c | 2 +-
src/nautilus-shell-search-provider.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 923cab933..9adebffc3 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1280,7 +1280,7 @@ search_for_application_mime_type (ActivateParametersInstall *parameters_install,
g_assert (parameters_install->proxy != NULL);
- desktop_startup_id = g_strdup_printf ("_TIME%i", gtk_get_current_event_time ());
+ desktop_startup_id = g_strdup_printf ("_TIME%i", (guint32) GDK_CURRENT_TIME);
g_dbus_proxy_call (parameters_install->proxy,
"InstallMimeTypes",
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c
index a4b67809e..727240a7c 100644
--- a/src/nautilus-query-editor.c
+++ b/src/nautilus-query-editor.c
@@ -787,7 +787,7 @@ nautilus_gtk_search_entry_is_keynav_event (guint keyval,
keyval == GDK_KEY_End || keyval == GDK_KEY_KP_End ||
keyval == GDK_KEY_Page_Up || keyval == GDK_KEY_KP_Page_Up ||
keyval == GDK_KEY_Page_Down || keyval == GDK_KEY_KP_Page_Down ||
- ((state & (GDK_CONTROL_MASK | GDK_MOD1_MASK)) != 0))
+ ((state & (GDK_CONTROL_MASK | GDK_ALT_MASK)) != 0))
{
return TRUE;
}
diff --git a/src/nautilus-shell-search-provider.c b/src/nautilus-shell-search-provider.c
index 90fdaa33b..55e9e1aff 100644
--- a/src/nautilus-shell-search-provider.c
+++ b/src/nautilus-shell-search-provider.c
@@ -619,7 +619,7 @@ result_list_attributes_ready_cb (GList *file_list,
GVariant *meta_variant;
gint icon_scale;
- icon_scale = gdk_monitor_get_scale_factor (gdk_display_get_monitor (gdk_display_get_default (), 0));
+ icon_scale = gdk_monitor_get_scale_factor (g_list_model_get_item (gdk_display_get_monitors
(gdk_display_get_default ()), 0));
for (l = file_list; l != NULL; l = l->next)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]