[passepartout] use the new filter type
- From: Sven Herzberg <herzi src gnome org>
- To: svn-commits-list gnome org
- Subject: [passepartout] use the new filter type
- Date: Sat, 2 May 2009 09:32:38 -0400 (EDT)
commit 2e2c5dfb2e4fea8ae552e0cca0f11893aa9e15fb
Author: Sven Herzberg <herzi lanedo com>
Date: Fri May 1 20:32:40 2009 +0200
use the new filter type
* src/pptout/filter.h: define the filter, inheriting from Gtk::FileFilter
* src/pptout/window.cc: use the new filter
---
src/pptout/filter.h | 11 +++++++++++
src/pptout/window.cc | 5 +++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/pptout/filter.h b/src/pptout/filter.h
index 4ab9033..9ffd0ac 100644
--- a/src/pptout/filter.h
+++ b/src/pptout/filter.h
@@ -26,5 +26,16 @@
#ifndef FILTER_H
#define FILTER_H
+#include <gtkmm.h>
+
+namespace Passepartout
+{
+
+ class Filter :
+ public Gtk::FileFilter
+ {
+ };
+
+}
#endif /* !FILTER_H */
diff --git a/src/pptout/window.cc b/src/pptout/window.cc
index 14fb2c0..1d8f7d5 100644
--- a/src/pptout/window.cc
+++ b/src/pptout/window.cc
@@ -19,10 +19,11 @@
#include "widget/imagefilesel.h"
#include "config.h"
+#include "filter.h"
+#include "pagesel.h"
#include "printdialog.h"
#include "propertiesdialog.h"
#include "streamdialog.h"
-#include "pagesel.h"
#include <glib/gi18n.h>
@@ -36,7 +37,7 @@ class FrameWindow::Private
public:
Private ();
- Gtk::FileFilter pptout;
+ Passepartout::Filter pptout;
Gtk::FileFilter all;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]