[anjuta] message-view: fix compile warnings
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] message-view: fix compile warnings
- Date: Mon, 18 Feb 2013 23:44:04 +0000 (UTC)
commit 0641cc9e9e273e5041704b6d8d0abd19bf62e4df
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Tue Feb 19 00:43:52 2013 +0100
message-view: fix compile warnings
plugins/message-view/anjuta-msgman.c | 6 ------
plugins/message-view/message-view.c | 2 +-
2 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/plugins/message-view/anjuta-msgman.c b/plugins/message-view/anjuta-msgman.c
index 8f9721e..3c02172 100644
--- a/plugins/message-view/anjuta-msgman.c
+++ b/plugins/message-view/anjuta-msgman.c
@@ -323,16 +323,12 @@ static void
on_message_view_destroy (MessageView *view, AnjutaMsgman *msgman)
{
AnjutaMsgmanPage *page;
- gint page_num;
page = anjuta_msgman_page_from_widget (msgman, view);
g_signal_handlers_disconnect_by_func (G_OBJECT (view),
G_CALLBACK (on_message_view_destroy), msgman);
- page_num =
- gtk_notebook_page_num (GTK_NOTEBOOK (msgman),
- GTK_WIDGET (view));
msgman->priv->views = g_list_remove (msgman->priv->views, page);
anjuta_msgman_page_destroy (page);
@@ -460,12 +456,10 @@ void
anjuta_msgman_set_current_view (AnjutaMsgman * msgman, MessageView * mv)
{
g_return_if_fail (msgman != NULL);
- AnjutaMsgmanPage *page;
gint page_num;
if (mv)
{
- page = anjuta_msgman_page_from_widget (msgman, mv);
page_num =
gtk_notebook_page_num (GTK_NOTEBOOK (msgman),
GTK_WIDGET (mv));
diff --git a/plugins/message-view/message-view.c b/plugins/message-view/message-view.c
index 2eb02af..672fd81 100644
--- a/plugins/message-view/message-view.c
+++ b/plugins/message-view/message-view.c
@@ -178,7 +178,7 @@ message_deserialize (Message *message, AnjutaSerializer *serializer)
}
static GType
-message_get_type ()
+message_get_type (void)
{
static GType type = 0;
if (!type)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]