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/iax2_analysis.c | |
parent | 688d055acd523e645c1e87267dcf4a0a9867adbd (diff) | |
download | wireshark-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/iax2_analysis.c')
-rw-r--r-- | ui/gtk/iax2_analysis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/iax2_analysis.c b/ui/gtk/iax2_analysis.c index 604f721ba3..f8b45d1c75 100644 --- a/ui/gtk/iax2_analysis.c +++ b/ui/gtk/iax2_analysis.c @@ -1316,7 +1316,7 @@ dialog_graph_draw(user_data_t* user_data) #if GTK_CHECK_VERSION(2,22,0) cairo_set_source_surface (cr, user_data->dlg.dialog_graph.surface, 0, 0); #else - gdk_cairo_set_source_pixmap (cr, user_data->dlg.dialog_graph.pixmap, 0, 0); + ws_gdk_cairo_set_source_pixmap (cr, user_data->dlg.dialog_graph.pixmap, 0, 0); #endif cairo_rectangle (cr, 0, 0, user_data->dlg.dialog_graph.surface_width, user_data->dlg.dialog_graph.surface_height); cairo_fill (cr); @@ -1390,7 +1390,7 @@ draw_area_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer data) #if GTK_CHECK_VERSION(2,22,0) cairo_set_source_surface (cr, user_data->dlg.dialog_graph.surface, 0, 0); #else - gdk_cairo_set_source_pixmap (cr, user_data->dlg.dialog_graph.pixmap, 0, 0); + ws_gdk_cairo_set_source_pixmap (cr, user_data->dlg.dialog_graph.pixmap, 0, 0); #endif cairo_rectangle (cr, event->area.x, event->area.y, event->area.width, event->area.height); cairo_fill (cr); |