[gnome-text-editor] build: fix warning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor] build: fix warning
- Date: Fri, 19 Nov 2021 03:33:53 +0000 (UTC)
commit 68556bd4ff256728b5b59442b789f8db8996635e
Author: Christian Hergert <chergert redhat com>
Date: Thu Nov 18 19:33:04 2021 -0800
build: fix warning
src/editor-application-actions.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/editor-application-actions.c b/src/editor-application-actions.c
index 9f36e81..5631cc9 100644
--- a/src/editor-application-actions.c
+++ b/src/editor-application-actions.c
@@ -237,12 +237,11 @@ editor_application_actions_remove_recent_cb (GSimpleAction *action,
GVariant *param,
gpointer user_data)
{
- EditorApplication *self = user_data;
g_autoptr(GFile) file = NULL;
const char *uri;
const char *draft_id;
- g_assert (EDITOR_IS_APPLICATION (self));
+ g_assert (EDITOR_IS_APPLICATION (user_data));
g_assert (g_variant_is_of_type (param, G_VARIANT_TYPE ("(ss)")));
g_variant_get (param, "(&s&s)", &uri, &draft_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]