From 5c1794445472da51333fa61da4b0fc1b42317fb7 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 19 Jan 2015 02:23:20 +0100
Subject: GTK+ 3: Fix compilation, scrolling, drawing
---
src/ld-window-main.c | 4 ++--
src/logdiag.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'src')
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index d68a957..d74fb7d 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -60,7 +60,7 @@ static void on_ui_proxy_disconnected (GtkUIManager *ui, GtkAction *action,
GtkWidget *proxy, LdWindowMain *window);
static void on_menu_item_selected (GtkWidget *item, LdWindowMain *window);
-static void on_menu_item_deselected (GtkItem *item, LdWindowMain *window);
+static void on_menu_item_deselected (GtkMenuItem *item, LdWindowMain *window);
static gboolean on_delete (LdWindowMain *self, GdkEvent *event,
gpointer user_data);
@@ -537,7 +537,7 @@ on_menu_item_selected (GtkWidget *item, LdWindowMain *window)
}
static void
-on_menu_item_deselected (GtkItem *item, LdWindowMain *window)
+on_menu_item_deselected (GtkMenuItem *item, LdWindowMain *window)
{
gtk_statusbar_pop (GTK_STATUSBAR (window->priv->statusbar),
window->priv->statusbar_menu_context_id);
diff --git a/src/logdiag.c b/src/logdiag.c
index 563ada2..e6c477b 100644
--- a/src/logdiag.c
+++ b/src/logdiag.c
@@ -79,7 +79,7 @@ get_utf8_args_fail:
static gint ld_active_windows = 0;
static void
-window_on_destroyed (GtkObject *object, gpointer user_data)
+window_on_destroyed (GtkWidget *object, gpointer user_data)
{
if (--ld_active_windows <= 0)
gtk_main_quit ();
--
cgit v1.2.3-70-g09d2