summaryrefslogtreecommitdiff
path: root/ui/gtk/rtp_player.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2016-07-24 14:16:19 -0400
committerMichael Mann <mmann78@netscape.net>2016-07-24 20:03:29 +0000
commitee7f9c33f63532bc69899a0750177756be53c0c1 (patch)
tree54f64291385d28b8f013f2c869bd1aa1d2923bf1 /ui/gtk/rtp_player.c
parent688d055acd523e645c1e87267dcf4a0a9867adbd (diff)
downloadwireshark-ee7f9c33f63532bc69899a0750177756be53c0c1.tar.gz
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/rtp_player.c')
-rw-r--r--ui/gtk/rtp_player.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/rtp_player.c b/ui/gtk/rtp_player.c
index 178e9f8a35..7d051093ad 100644
--- a/ui/gtk/rtp_player.c
+++ b/ui/gtk/rtp_player.c
@@ -864,7 +864,7 @@ draw_channel_cursor(rtp_channel_info_t *rci, guint32 start_index)
#if GTK_CHECK_VERSION(2,22,0)
cairo_set_source_surface (cr, rci->surface, idx/MULT, 0);
#else
- gdk_cairo_set_source_pixmap (cr, rci->pixmap,idx/MULT, 0);
+ ws_gdk_cairo_set_source_pixmap (cr, rci->pixmap,idx/MULT, 0);
#endif
cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT);
cairo_rectangle (cr, rci->cursor_prev/MULT, 0, 1, widget_alloc.height-HEIGHT_TIME_LABEL);
@@ -896,7 +896,7 @@ draw_channel_cursor(rtp_channel_info_t *rci, guint32 start_index)
#if GTK_CHECK_VERSION(2,22,0)
cairo_set_source_surface (cr, rci->surface, idx/MULT, 0);
#else
- gdk_cairo_set_source_pixmap (cr, rci->pixmap, idx/MULT, 0);
+ ws_gdk_cairo_set_source_pixmap (cr, rci->pixmap, idx/MULT, 0);
#endif
cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT);
cairo_rectangle (cr, idx/MULT, 0, 1, widget_alloc.height-HEIGHT_TIME_LABEL);
@@ -1508,7 +1508,7 @@ static gboolean expose_event_channels(GtkWidget *widget, GdkEventExpose *event,
#if GTK_CHECK_VERSION(2,22,0)
cairo_set_source_surface (cr, rci->surface, 0, 0);
#else
- gdk_cairo_set_source_pixmap (cr, rci->pixmap, event->area.x, event->area.y);
+ ws_gdk_cairo_set_source_pixmap (cr, rci->pixmap, event->area.x, event->area.y);
#endif
cairo_rectangle (cr, event->area.x,event->area.y, event->area.width, event->area.height);
cairo_fill (cr);