[gtkmm] PrintSettings: Make create_*() from public, not protected.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] PrintSettings: Make create_*() from public, not protected.
- Date: Thu, 28 Apr 2016 19:03:28 +0000 (UTC)
commit 0283fe2267f7d978945f7e8d268895b56c7e438d
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Apr 28 21:02:25 2016 +0200
PrintSettings: Make create_*() from public, not protected.
Noticed by Phil Wolff.
gtk/src/printsettings.hg | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/src/printsettings.hg b/gtk/src/printsettings.hg
index 2f34b8d..61f5976 100644
--- a/gtk/src/printsettings.hg
+++ b/gtk/src/printsettings.hg
@@ -52,6 +52,9 @@ class PrintSettings : public Glib::Object
protected:
_CTOR_DEFAULT
+public:
+ _WRAP_CREATE()
+
/** Reads the print settings from the @a key_file.
* Returns a new PrintSettings object with the restored settings,
* or an empty RefPtr if an error occurred.
@@ -96,9 +99,6 @@ protected:
static Glib::RefPtr<PrintSettings> create_from_file(const std::string& file_name);
_IGNORE(gtk_print_settings_new_from_file)
-public:
- _WRAP_CREATE()
-
/** Print settings keys.
*/
class Keys
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]