[dia] [gtk-deprecated] remove superfluous inclusion/mentioning of Gtk



commit d9f5c120e89c8b692bab6409abfa0c3a4a68a704
Author: Hans Breuer <hans breuer org>
Date:   Sat Dec 10 13:22:39 2011 +0100

    [gtk-deprecated] remove superfluous inclusion/mentioning of Gtk

 lib/debug.h                   |    1 -
 lib/dia_dirs.c                |    3 +--
 lib/group.c                   |    1 -
 lib/object.c                  |    2 --
 objects/Jackson/requirement.c |    9 ---------
 5 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/lib/debug.h b/lib/debug.h
index 5b73624..205b3e1 100644
--- a/lib/debug.h
+++ b/lib/debug.h
@@ -24,7 +24,6 @@
 #include <config.h>
 
 #include <stdio.h>
-#include <gtk/gtk.h>
 #include <stdarg.h>
 
 gboolean dia_assert_true(gboolean val, gchar *format, ...);
diff --git a/lib/dia_dirs.c b/lib/dia_dirs.c
index a111acb..1b3f1f6 100644
--- a/lib/dia_dirs.c
+++ b/lib/dia_dirs.c
@@ -284,8 +284,7 @@ dia_get_canonical_path(const gchar *path)
   return ret;
 }
 
-/** Returns an filename in UTF-8 encoding from filename in filesystem
- *  encoding.  In GTK < 2.6, invalid sequences are not [???]
+/** Returns an filename in UTF-8 encoding from filename in filesystem encoding.
  * @param filename A filename string as gotten from the filesystem.
  * @returns UTF-8 encoded copy of the filename.
  * The value returned is a pointer to static array.
diff --git a/lib/group.c b/lib/group.c
index 05cf44b..4cd10bd 100644
--- a/lib/group.c
+++ b/lib/group.c
@@ -18,7 +18,6 @@
 #include <config.h>
 
 #include <assert.h>
-#include <gtk/gtk.h>
 #include <math.h>
 
 #include "object.h"
diff --git a/lib/object.c b/lib/object.c
index 62e819a..a74d6a4 100644
--- a/lib/object.c
+++ b/lib/object.c
@@ -22,8 +22,6 @@
 #include <stdio.h>
 #include <string.h>
 
-#include <gtk/gtk.h>
-
 #include "object.h"
 #include "diagramdata.h" /* for Layer */
 #include "message.h"
diff --git a/objects/Jackson/requirement.c b/objects/Jackson/requirement.c
index 9876aaf..a35a40c 100644
--- a/objects/Jackson/requirement.c
+++ b/objects/Jackson/requirement.c
@@ -43,7 +43,6 @@
 
 #include "pixmaps/requirement.xpm"
 
-typedef struct _RequirementPropertiesDialog RequirementPropertiesDialog;
 typedef struct _Requirement Requirement;
 typedef struct _RequirementState RequirementState;
 
@@ -63,14 +62,6 @@ struct _Requirement {
 };
 
 
-struct _RequirementPropertiesDialog {
-  GtkWidget *dialog;
-
-  GtkToggleButton *text_out;
-  GtkToggleButton *collaboration;
-};
-
-
 #define REQ_FONT 0.7
 #define REQ_WIDTH 3.25
 #define REQ_HEIGHT 2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]