]> www.fi.muni.cz Git - evince.git/blobdiff - properties/ev-properties-view.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / properties / ev-properties-view.h
index 0f3b46321d1dad12c852cc716ed2a12b8849adba..221a6ef1a6edb0b2c01e7c3b21f1ce52d02fe4fe 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #ifndef __EV_PROPERTIES_VIEW_H__
 #define __EV_PROPERTIES_VIEW_H__
 
-#include "ev-document-info.h"
+#include <gtk/gtk.h>
 
-#include <gtk/gtkwidget.h>
+#include <evince-document.h>
 
 G_BEGIN_DECLS
 
@@ -33,14 +33,15 @@ typedef struct _EvPropertiesViewPrivate EvPropertiesViewPrivate;
 
 #define EV_TYPE_PROPERTIES                     (ev_properties_view_get_type())
 #define EV_PROPERTIES_VIEW(object)             (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_PROPERTIES, EvPropertiesView))
-#define EV_PROPERTIES_VIEW_CLASS(klass)                (G_TYPE_CHACK_CLASS_CAST((klass), EV_TYPE_PROPERTIES, EvPropertiesViewClass))
+#define EV_PROPERTIES_VIEW_CLASS(klass)                (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_PROPERTIES, EvPropertiesViewClass))
 #define EV_IS_PROPERTIES_VIEW(object)          (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_PROPERTIES))
 #define EV_IS_PROPERTIES_VIEW_CLASS(klass)     (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_PROPERTIES))
 #define EV_PROPERTIES_VIEW_GET_CLASS(object)   (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_PROPERTIES, EvPropertiesViewClass))
 
 GType          ev_properties_view_get_type             (void);
 void           ev_properties_view_register_type        (GTypeModule *module);
-GtkWidget      *ev_properties_view_new                 (void);
+
+GtkWidget      *ev_properties_view_new                 (const gchar          *uri);
 void           ev_properties_view_set_info             (EvPropertiesView     *properties,
                                                         const EvDocumentInfo *info);