[gtranslator] Remove build warning
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Remove build warning
- Date: Mon, 29 Oct 2018 12:07:25 +0000 (UTC)
commit ad25b3656ff5e6dd1dc808abac24cf8e8f9db52e
Author: Daniel GarcĂa Moreno <danigm wadobo com>
Date: Mon Oct 29 12:49:20 2018 +0100
Remove build warning
src/gtr-application.c | 4 ++--
src/gtr-header-dialog.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gtr-application.c b/src/gtr-application.c
index dd7989b8..38fbcf7a 100644
--- a/src/gtr-application.c
+++ b/src/gtr-application.c
@@ -235,7 +235,7 @@ find_activated (GSimpleAction *action,
GtrApplication *app = GTR_APPLICATION (user_data);
GtrApplicationPrivate *priv = gtr_application_get_instance_private (app);
- _gtr_actions_search_find (GTK_ACTION (action), priv->active_window);
+ _gtr_actions_search_find (NULL, priv->active_window);
}
static void
@@ -246,7 +246,7 @@ find_and_replace_activated (GSimpleAction *action,
GtrApplication *app = GTR_APPLICATION (user_data);
GtrApplicationPrivate *priv = gtr_application_get_instance_private (app);
- _gtr_actions_search_replace (GTK_ACTION (action), priv->active_window);
+ _gtr_actions_search_replace (NULL, priv->active_window);
}
static void
diff --git a/src/gtr-header-dialog.c b/src/gtr-header-dialog.c
index 40eb5dbb..6f1a93e5 100644
--- a/src/gtr-header-dialog.c
+++ b/src/gtr-header-dialog.c
@@ -391,7 +391,7 @@ void
gtr_show_header_dialog (GtrWindow * window)
{
static GtkWidget *dlg = NULL;
- GtrTab *tab;
+ GtrTab *tab = NULL;
tab = gtr_window_get_active_tab (window);
g_return_if_fail (tab != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]