[beast: 12/18] BEAST: silence compiler
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 12/18] BEAST: silence compiler
- Date: Mon, 5 Oct 2015 22:50:25 +0000 (UTC)
commit d267a929363f607098b67343716c2c69e6d5b501
Author: Tim Janik <timj gnu org>
Date: Thu Sep 24 20:40:56 2015 +0200
BEAST: silence compiler
beast-gtk/bstcanvaslink.cc | 7 ++-----
beast-gtk/bstservermonitor.cc | 2 +-
beast-gtk/bstzoomedwindow.cc | 2 +-
3 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/beast-gtk/bstcanvaslink.cc b/beast-gtk/bstcanvaslink.cc
index ec3e05f..fbdf384 100644
--- a/beast-gtk/bstcanvaslink.cc
+++ b/beast-gtk/bstcanvaslink.cc
@@ -536,12 +536,10 @@ static gboolean
bst_canvas_link_child_event (GnomeCanvasItem *item,
GdkEvent *event)
{
- BstCanvasLink *clink;
+ // BstCanvasLink *clink = BST_CANVAS_LINK (item);
GtkWidget *widget = GTK_WIDGET (item->canvas);
gboolean handled = FALSE;
- clink = BST_CANVAS_LINK (item);
-
switch (event->type)
{
case GDK_ENTER_NOTIFY:
@@ -589,11 +587,10 @@ bst_canvas_link_class_init (BstCanvasLinkClass *klass)
{
GtkObjectClass *object_class;
GnomeCanvasItemClass *canvas_item_class;
- GnomeCanvasGroupClass *canvas_group_class;
+ // GnomeCanvasGroupClass *canvas_group_class = GNOME_CANVAS_GROUP_CLASS (klass);
object_class = GTK_OBJECT_CLASS (klass);
canvas_item_class = GNOME_CANVAS_ITEM_CLASS (klass);
- canvas_group_class = GNOME_CANVAS_GROUP_CLASS (klass);
object_class->destroy = bst_canvas_link_destroy;
canvas_item_class->event = bst_canvas_link_event;
diff --git a/beast-gtk/bstservermonitor.cc b/beast-gtk/bstservermonitor.cc
index 8da6c66..6ee1ab7 100644
--- a/beast-gtk/bstservermonitor.cc
+++ b/beast-gtk/bstservermonitor.cc
@@ -22,7 +22,7 @@ bst_server_monitor_get_type (void)
{
GtkTypeInfo server_monitor_info =
{
- "BstServerMonitor",
+ (char*) "BstServerMonitor",
sizeof (BstServerMonitor),
sizeof (BstServerMonitorClass),
(GtkClassInitFunc) bst_server_monitor_class_init,
diff --git a/beast-gtk/bstzoomedwindow.cc b/beast-gtk/bstzoomedwindow.cc
index 5934023..f761de4 100644
--- a/beast-gtk/bstzoomedwindow.cc
+++ b/beast-gtk/bstzoomedwindow.cc
@@ -50,7 +50,7 @@ bst_zoomed_window_get_type (void)
{
GtkTypeInfo zoomed_window_info =
{
- "BstZoomedWindow",
+ (char*) "BstZoomedWindow",
sizeof (BstZoomedWindow),
sizeof (BstZoomedWindowClass),
(GtkClassInitFunc) bst_zoomed_window_class_init,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]