[dia] Fix compilation errors with gcc
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Fix compilation errors with gcc
- Date: Sat, 23 Jun 2012 11:49:58 +0000 (UTC)
commit 46f50259efc568e0425c1cf8948d0f3876e65834
Author: Hans Breuer <hans breuer org>
Date: Sat Jun 23 15:47:46 2012 +0200
Fix compilation errors with gcc
MSVC seems to be more tolerant with superfluous declarations
(one static, the other not). And it is configured to be picky
about C++ comments in C code.
app/toolbox.c | 2 --
app/toolbox.h | 2 +-
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/app/toolbox.c b/app/toolbox.c
index 6e56250..ce5d756 100644
--- a/app/toolbox.c
+++ b/app/toolbox.c
@@ -504,7 +504,6 @@ create_color_area (GtkWidget *parent)
frame = gtk_frame_new (NULL);
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_OUT);
gtk_wrap_box_pack_wrapped(GTK_WRAP_BOX(parent), frame, TRUE, TRUE, FALSE, FALSE, TRUE);
- //gtk_widget_realize (frame);
hbox = gtk_hbox_new (FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 0);
@@ -757,7 +756,6 @@ create_tools(GtkWidget *parent)
}
}
-//IUI
GtkWidget *
toolbox_create(void)
{
diff --git a/app/toolbox.h b/app/toolbox.h
index 112e5d2..176c260 100644
--- a/app/toolbox.h
+++ b/app/toolbox.h
@@ -30,4 +30,4 @@ GdkPixbuf *tool_get_pixbuf (ToolButton *tb);
void toolbox_setup_drag_dest (GtkWidget *canvas);
GtkWidget *toolbox_create(void);
-GtkActionGroup *create_or_ref_tool_actions (void);
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]