aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_draw.h
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2008-04-07 04:34:54 +0000
committerStephen Fisher <steve@stephen-fisher.com>2008-04-07 04:34:54 +0000
commit13802b1d8427da55fb2290b953b1453a9c43095c (patch)
treeaaec8b58ad25a0fb63a0a0ec4f2de4d674407422 /gtk/proto_draw.h
parenta398bebdaf691ceeaec536d8c657505d45906451 (diff)
Remove GTK1 code.
svn path=/trunk/; revision=24827
Diffstat (limited to 'gtk/proto_draw.h')
-rw-r--r--gtk/proto_draw.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gtk/proto_draw.h b/gtk/proto_draw.h
index 367083b182..91201e5c97 100644
--- a/gtk/proto_draw.h
+++ b/gtk/proto_draw.h
@@ -110,15 +110,9 @@ extern gboolean byte_view_select(GtkWidget *widget, GdkEventButton *event);
* @param tree the current tree
* @return TRUE if highlighting was successful
*/
-#if GTK_MAJOR_VERSION < 2
-gboolean
-highlight_field(tvbuff_t *tvb, gint byte, GtkCTree *ctree,
- proto_tree *tree);
-#else
gboolean
highlight_field(tvbuff_t *tvb, gint byte, GtkTreeView *tree_view,
proto_tree *tree);
-#endif
/** Callback for "Export Selected Packet Bytes" operation.
*
@@ -170,13 +164,6 @@ extern void packet_hex_print(GtkWidget *bv, const guint8 *pd, frame_data *fd,
*/
extern void packet_hex_reprint(GtkWidget *bv);
-#if GTK_MAJOR_VERSION < 2
-/** Set a new font for all protocol trees.
- *
- * @param font the new font
- */
-extern void set_ptree_font_all(GdkFont *font);
-#else
/** Set a new font for all protocol trees.
*
* @param font the new font
@@ -190,7 +177,6 @@ extern void set_ptree_font_all(PangoFontDescription *font);
* @return the path to the field
*/
extern GtkTreePath *tree_find_by_field_info(GtkTreeView *tree_view, field_info *finfo);
-#endif
/** Create a new tree view (packet details).
*