From 388e6c54ec97687190e219d6dd944fa3678a6aca Mon Sep 17 00:00:00 2001 From: zeljko Date: Thu, 20 Apr 2017 16:14:54 +0000 Subject: [PATCH] Gtk3: removed gdk_pixbuf_gettext which does not exist in gdk-pixbuf.issue #31677 git-svn-id: trunk@54655 - --- lcl/interfaces/gtk3/gtk3bindings/lazgdkpixbuf2.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lcl/interfaces/gtk3/gtk3bindings/lazgdkpixbuf2.pas b/lcl/interfaces/gtk3/gtk3bindings/lazgdkpixbuf2.pas index 6bd9ea1120..473fc1100f 100644 --- a/lcl/interfaces/gtk3/gtk3bindings/lazgdkpixbuf2.pas +++ b/lcl/interfaces/gtk3/gtk3bindings/lazgdkpixbuf2.pas @@ -332,7 +332,7 @@ function gdk_pixbuf_get_pixels_with_length(pixbuf: PGdkPixbuf; length: Pguint): function gdk_pixbuf_get_rowstride(pixbuf: PGdkPixbuf): gint; cdecl; external; function gdk_pixbuf_get_type: TGType; cdecl; external; function gdk_pixbuf_get_width(pixbuf: PGdkPixbuf): gint; cdecl; external; -function gdk_pixbuf_gettext(msgid: Pgchar): Pgchar; cdecl; external; +//does not exist anymore. issue #31677 function gdk_pixbuf_gettext(msgid: Pgchar): Pgchar; cdecl; external; function gdk_pixbuf_loader_close(loader: PGdkPixbufLoader; error: PPGError): gboolean; cdecl; external; function gdk_pixbuf_loader_get_animation(loader: PGdkPixbufLoader): PGdkPixbufAnimation; cdecl; external; function gdk_pixbuf_loader_get_format(loader: PGdkPixbufLoader): PGdkPixbufFormat; cdecl; external; @@ -466,7 +466,7 @@ end; function TGdkPixbuf.gettext(msgid: Pgchar): Pgchar; cdecl; begin - Result := LazGdkPixbuf2.gdk_pixbuf_gettext(msgid); + Result := nil; //issue #31677 LazGdkPixbuf2.gdk_pixbuf_gettext(msgid); end; procedure TGdkPixbuf.new_from_stream_async(stream: PGInputStream; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; @@ -834,4 +834,4 @@ begin LazGdkPixbuf2.gdk_pixbuf_simple_anim_set_loop(@self, loop); end; -end. \ No newline at end of file +end.