Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release-src > by-pkgid > 838409f06098f25972c735bffbbada7c > files > 12

gparted-0.33.0-2.mga7.src.rpm

From 05da10775cf27968fc6bf84d3d11615eb1c52a18 Mon Sep 17 00:00:00 2001
From: Luca Bacci <luca.bacci982@gmail.com>
Date: Fri, 3 Aug 2018 19:38:39 +0200
Subject: [PATCH 08/26] port-to-gtk3: Rework Gtkmm header includes (#7)

Now that we are compiling against Gtkmm3 there are missing declarations
of Gtkmm identifiers due to changes in Gtkmm internal header structure.

All we have to do is bring back the declarations by including the
appropriate headers where needed.

Add necessary Gtkmm header includes.

Closes #7 - Port to Gtk3
---
 include/Win_GParted.h | 1 +
 src/Win_GParted.cc    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/Win_GParted.h b/include/Win_GParted.h
index 9f272b47..c2cb5b0c 100644
--- a/include/Win_GParted.h
+++ b/include/Win_GParted.h
@@ -29,6 +29,7 @@
 #include <gtkmm/paned.h>
 #include <gtkmm/toolbar.h>
 #include <gtkmm/separatortoolitem.h>
+#include <gtkmm/checkmenuitem.h>
 #include <gtkmm/menubar.h>
 #include <gtkmm/statusbar.h>
 #include <gtkmm/combobox.h>
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index 370271e1..aacdc888 100644
--- a/src/Win_GParted.cc
+++ b/src/Win_GParted.cc
@@ -51,6 +51,7 @@
 #include <gtkmm/aboutdialog.h>
 #include <gtkmm/messagedialog.h>
 #include <gtkmm/radiobuttongroup.h>
+#include <gtkmm/radiomenuitem.h>
 #include <gtkmm/main.h>
 #include <gtkmm/separator.h>
 #include <glibmm/ustring.h>
-- 
2.21.0