diff options
author | Michael Mann <mmann78@netscape.net> | 2016-07-24 14:16:19 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-07-24 20:03:29 +0000 |
commit | ee7f9c33f63532bc69899a0750177756be53c0c1 (patch) | |
tree | 54f64291385d28b8f013f2c869bd1aa1d2923bf1 /ui/gtk/rlc_lte_graph.c | |
parent | 688d055acd523e645c1e87267dcf4a0a9867adbd (diff) |
Pacify GTK checkAPIs.pl warnings.
Add "Wireshark" macros to old-gtk-compat.h for GTK APIs that have been deprecated.
The macros are setup by version number to limit their proliferation (not that I
suspect much development will really be done there since GTK is deprecated).
Just want to make buildbots happy for the time being.
Change-Id: I095f850065166a0bc2e2456fb2e886ab64fdd97d
Reviewed-on: https://code.wireshark.org/review/16635
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Balint Reczey <balint@balintreczey.hu>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/gtk/rlc_lte_graph.c')
-rw-r--r-- | ui/gtk/rlc_lte_graph.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/rlc_lte_graph.c b/ui/gtk/rlc_lte_graph.c index b3590c91e3..0fc380894d 100644 --- a/ui/gtk/rlc_lte_graph.c +++ b/ui/gtk/rlc_lte_graph.c @@ -784,7 +784,7 @@ static void graph_title_pixmap_display(struct gtk_rlc_graph *g) #if GTK_CHECK_VERSION(2,22,0) cairo_set_source_surface(cr, g->title_surface, g->wp.x, 0); #else - gdk_cairo_set_source_pixmap(cr, g->title_pixmap, g->wp.x, 0); + ws_gdk_cairo_set_source_pixmap(cr, g->title_pixmap, g->wp.x, 0); #endif cairo_rectangle(cr, g->wp.x, 0, g->x_axis->p.width, g->wp.y); cairo_fill(cr); @@ -849,7 +849,7 @@ static void graph_pixmap_display(struct gtk_rlc_graph *g) #if GTK_CHECK_VERSION(2,22,0) cairo_set_source_surface(cr, g->surface[g->displayed], g->wp.x, g->wp.y); #else - gdk_cairo_set_source_pixmap(cr, g->pixmap[g->displayed], g->wp.x, g->wp.y); + ws_gdk_cairo_set_source_pixmap(cr, g->pixmap[g->displayed], g->wp.x, g->wp.y); #endif /* GTK_CHECK_VERSION(2,22,0) */ cairo_rectangle(cr, g->wp.x, g->wp.y, g->wp.width, g->wp.height); cairo_fill(cr); @@ -1287,7 +1287,7 @@ static void axis_pixmap_display(struct axis *axis) #if GTK_CHECK_VERSION(2,22,0) cairo_set_source_surface(cr, axis->surface[axis->displayed], axis->p.x, axis->p.y); #else - gdk_cairo_set_source_pixmap(cr, axis->pixmap[axis->displayed], axis->p.x, axis->p.y); + ws_gdk_cairo_set_source_pixmap(cr, axis->pixmap[axis->displayed], axis->p.x, axis->p.y); #endif cairo_rectangle(cr, axis->p.x, axis->p.y, axis->p.width, axis->p.height); cairo_fill(cr); |