diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 21:25:58 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-30 21:25:58 +0100 |
commit | cb0f6c8c91b564e541688b3f0f57d8456295dc1f (patch) | |
tree | 0ac1427e1d3a18ae152bd1d34f424c6db7759479 /src/fe-gtk/xtext.c | |
parent | 284dbfbe3dc37e94b57e110b6ea23f847b9f6035 (diff) |
Eliminate some more warnings
Diffstat (limited to 'src/fe-gtk/xtext.c')
-rw-r--r-- | src/fe-gtk/xtext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/xtext.c b/src/fe-gtk/xtext.c index 18b6014b..7269e921 100644 --- a/src/fe-gtk/xtext.c +++ b/src/fe-gtk/xtext.c @@ -2179,7 +2179,7 @@ gtk_xtext_set_clip_owner (GtkWidget * xtext, GdkEventButton * event) void gtk_xtext_copy_selection (GtkXText *xtext) { - gtk_xtext_set_clip_owner (xtext, NULL); + gtk_xtext_set_clip_owner (GTK_WIDGET (xtext), NULL); } static void @@ -4057,7 +4057,7 @@ gtk_xtext_load_trans (GtkXText * xtext) ReleaseDC (hwnd, hdc); gdk_drawable_get_size (GTK_WIDGET (xtext)->window, &width, &height); - img = gdk_image_get (GTK_WIDGET (xtext)->window, 0, 0, width+128, height); + img = gdk_drawable_get_image (GTK_WIDGET (xtext)->window, 0, 0, width+128, height); xtext->pixmap = win32_tint (xtext, img, img->width, img->height); #else |