[pangomm] Fontset: Remove GLIBMM_EXCEPTIONS_ENABLED



commit 4bc754d00f32d7f5218980c4fc9965c474ef4934
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Thu Jul 13 10:47:01 2017 +0200

    Fontset: Remove GLIBMM_EXCEPTIONS_ENABLED

 pango/src/fontset.ccg |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/pango/src/fontset.ccg b/pango/src/fontset.ccg
index befb77d..f02a660 100644
--- a/pango/src/fontset.ccg
+++ b/pango/src/fontset.ccg
@@ -1,8 +1,4 @@
-// -*- c++ -*-
-/* $Id: fontset.ccg,v 1.5 2006/05/11 11:40:24 murrayc Exp $ */
-
 /* 
- *
  * Copyright 2001      The gtkmm Development Team
  *
  * This library is free software; you can redistribute it and/or
@@ -22,15 +18,12 @@
 
 static gboolean fontset_foreach_callback(PangoFontset* /* fontset */, PangoFont* font, gpointer data)
 {
-  #ifdef GLIBMM_EXCEPTIONS_ENABLED
   try
   {
-  #endif //GLIBMM_EXCEPTIONS_ENABLED
     auto& slot = *static_cast<Pango::Fontset::ForeachSlot*>(data);
     auto cppFont = Glib::wrap(font, true /* take_copy */);
 
     return slot(cppFont);
-  #ifdef GLIBMM_EXCEPTIONS_ENABLED
   }
   catch(...)
   {
@@ -38,7 +31,6 @@ static gboolean fontset_foreach_callback(PangoFontset* /* fontset */, PangoFont*
   }
 
   return false; //arbitrary default
-  #endif //GLIBMM_EXCEPTIONS_ENABLED
 }
 
 


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