[glibmm] Remove unnecessary _IGNORE()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Remove unnecessary _IGNORE()
- Date: Thu, 30 Jul 2015 15:03:45 +0000 (UTC)
commit 88d59eff69d399c6f557f8c2be7599e31740b841
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Thu Jul 30 16:59:20 2015 +0200
Remove unnecessary _IGNORE()
* gio/src/inputstream.hg:
* gio/src/notification.hg:
* gio/src/outputstream.hg:
* gio/src/resolver.hg:
* gio/src/socketconnection.hg: Remove _IGNORE() directives that have become
unnecessary when the .defs files don't contain information from private.h
files. gmmproc warns about unnecessary _IGNORE().
gio/src/inputstream.hg | 3 ---
gio/src/notification.hg | 4 ----
gio/src/outputstream.hg | 3 ---
gio/src/resolver.hg | 5 -----
gio/src/socketconnection.hg | 3 ---
5 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/gio/src/inputstream.hg b/gio/src/inputstream.hg
index 446e901..745c11d 100644
--- a/gio/src/inputstream.hg
+++ b/gio/src/inputstream.hg
@@ -1,5 +1,3 @@
-// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-
/* Copyright (C) 2007 The giomm Development Team
*
* This library is free software; you can redistribute it and/or
@@ -41,7 +39,6 @@ namespace Gio
class InputStream : public Glib::Object
{
_CLASS_GOBJECT(InputStream, GInputStream, G_INPUT_STREAM, Glib::Object, GObject)
- _IGNORE(g_input_stream_async_read_is_via_threads) dnl// private method
public:
_WRAP_METHOD(gssize read(void* buffer, gsize count, const Glib::RefPtr<Cancellable>& cancellable{?}),
diff --git a/gio/src/notification.hg b/gio/src/notification.hg
index 806cd2e..83c38ba 100644
--- a/gio/src/notification.hg
+++ b/gio/src/notification.hg
@@ -111,10 +111,6 @@ public:
// Ignore functions with variable-length parameter lists.
_IGNORE(g_notification_add_button_with_target, g_notification_set_default_action_and_target)
- // Ignore private methods
- _IGNORE(g_notification_get_priority, g_notification_get_button, g_notification_get_default_action)
- _IGNORE(g_notification_get_n_buttons, g_notification_get_button_with_action, g_notification_serialize)
- _IGNORE(g_notification_get_icon, g_notification_get_id, g_notification_get_body, g_notification_get_title)
// There are no properties, signals, vfuncs.
};
diff --git a/gio/src/outputstream.hg b/gio/src/outputstream.hg
index b318d3b..afbf1e8 100644
--- a/gio/src/outputstream.hg
+++ b/gio/src/outputstream.hg
@@ -1,5 +1,3 @@
-// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-
/* Copyright (C) 2007 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
@@ -39,7 +37,6 @@ _WRAP_ENUM(OutputStreamSpliceFlags, GOutputStreamSpliceFlags, NO_GTYPE)
class OutputStream : public Glib::Object
{
_CLASS_GOBJECT(OutputStream, GOutputStream, G_OUTPUT_STREAM, Glib::Object, GObject)
- _IGNORE(g_output_stream_async_write_is_via_threads) dnl// private method
public:
diff --git a/gio/src/resolver.hg b/gio/src/resolver.hg
index 9fa83ab..a958b07 100644
--- a/gio/src/resolver.hg
+++ b/gio/src/resolver.hg
@@ -1,5 +1,3 @@
-// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-
/* Copyright (C) 2009 jonathon jongsma
*
* This library is free software; you can redistribute it and/or
@@ -69,9 +67,6 @@ public:
// g_resolver_free_addresses is just a C convenience function
_IGNORE(g_resolver_free_addresses)
- // g_resolver_get_serial() is private API.
- _IGNORE(g_resolver_get_serial)
-
#m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr<InetAddress> >',`$2($3, Glib::OWNERSHIP_DEEP)')
_WRAP_METHOD(Glib::ListHandle< Glib::RefPtr<InetAddress> > lookup_by_name(const Glib::ustring& hostname,
const Glib::RefPtr<Cancellable>& cancellable{?}), g_resolver_lookup_by_name, errthrow)
diff --git a/gio/src/socketconnection.hg b/gio/src/socketconnection.hg
index f154386..5ac0b2d 100644
--- a/gio/src/socketconnection.hg
+++ b/gio/src/socketconnection.hg
@@ -1,5 +1,3 @@
-// -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*-
-
/* Copyright (C) 2010 Jonathon Jongsma
*
* This library is free software; you can redistribute it and/or
@@ -52,7 +50,6 @@ namespace Gio
class SocketConnection : public Gio::IOStream
{
_CLASS_GOBJECT(SocketConnection, GSocketConnection, G_SOCKET_CONNECTION, Gio::IOStream, GIOStream)
- _IGNORE(g_socket_connection_set_cached_remote_address) dnl// private method
public:
_WRAP_METHOD(bool connect(const Glib::RefPtr<SocketAddress>& address, const Glib::RefPtr<Cancellable>&
cancellable{?}), g_socket_connection_connect, errthrow)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]