Wireshark-bugs: [Wireshark-bugs] [Bug 10268] New: Build fails with gtk-3.12 because GTKSelection
Date: Wed, 09 Jul 2014 08:10:26 +0000
Bug ID 10268
Summary Build fails with gtk-3.12 because GTKSelectionData is now private
Classification Unclassified
Product Wireshark
Version 1.12.0
Hardware x86-64
OS Mac OS X 10.9
Status UNCONFIRMED
Severity Normal
Priority Low
Component GTK+ UI
Assignee bugzilla-admin@wireshark.org
Reporter michael@weiser.dinsnail.net

Build Information:
TShark 1.12.0-rc2 (Git Rev Unknown from unknown)

Copyright 1998-2014 Gerald Combs <gerald@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GLib 2.40.0, with libpcap, with libz 1.2.8, without
POSIX
capabilities, without SMI, without c-ares, without ADNS, without Lua, without
Python, with GnuTLS 3.3.4, with Gcrypt 1.6.1, with MIT Kerberos, without GeoIP.

Running on Mac OS X 10.9.4, build 13E28 (Darwin 13.3.0), without locale, with
libpcap version 1.5.3, with libz 1.2.8.
       Intel(R) Core(TM) i5-3427U CPU @ 1.80GHz

Built using gcc 4.2.1 (Gentoo 4.2.1_p5666-r1, Apple Inc. build 5666) (dot 3).

--
Building Wireshark 1.12.0-rc2 on Mac OS X 10.9 with GTK 3.12.2 fails with:

drag_and_drop.c: In function 'gtk_osx_openFile':
drag_and_drop.c:294: error: storage size of 'selection_data' isn't known
drag_and_drop.c:294: warning: unused variable 'selection_data'

The offending code in drag_and_drop.c is:

#ifdef HAVE_GTKOSXAPPLICATION
gboolean
gtk_osx_openFile (GtkosxApplication *app _U_, gchar *path, gpointer user_data
_U_)
{
>>    GtkSelectionData selection_data;
    gchar* selection_path;
    size_t length = strlen(path);

This seems to be because GTKSelectionData is now private:

https://mail.gnome.org/archives/commits-list/2010-December/msg08311.html


You are receiving this mail because:
  • You are watching all bug changes.