[gtkmm] Builder: #include giomm/resource.h.



commit e177aedb7d85868aad4d9fe48a47dedea685a8c5
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Oct 9 09:18:11 2013 +0200

    Builder: #include giomm/resource.h.
    
    * gtk/src/builder.hg: This makes it easier for application code
      to catch the ResourceError exception.

 gtk/src/builder.hg |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/src/builder.hg b/gtk/src/builder.hg
index 638d8e1..d22558d 100644
--- a/gtk/src/builder.hg
+++ b/gtk/src/builder.hg
@@ -18,6 +18,7 @@
 #include <vector>
 
 #include <gtkmm/widget.h>
+#include <giomm/resource.h> //For ResourceError, thrown by create_from_resource().
 
 _DEFS(gtkmm,gtk)
 _PINCLUDE(glibmm/private/object_p.h)


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