[gparted] port-to-gtk3: Rework Gtkmm header includes (#7)



commit 05da10775cf27968fc6bf84d3d11615eb1c52a18
Author: Luca Bacci <luca bacci982 gmail com>
Date:   Fri Aug 3 19:38:39 2018 +0200

    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>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]