]> www.fi.muni.cz Git - evince.git/blobdiff - cut-n-paste/zoom-control/ephy-zoom-action.h
[shell] Free dbus introspection data on application shutdown
[evince.git] / cut-n-paste / zoom-control / ephy-zoom-action.h
index 77f9b415081e7ff21b1213444e0e9039ae9b8580..cf9f6feb337f925682ae310b72788830023416ca 100644 (file)
@@ -14,7 +14,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
  *
  *  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.
  *
  *  $Id$
  */
  *
  *  $Id$
  */
@@ -22,7 +22,7 @@
 #ifndef EPHY_ZOOM_ACTION_H
 #define EPHY_ZOOM_ACTION_H
 
 #ifndef EPHY_ZOOM_ACTION_H
 #define EPHY_ZOOM_ACTION_H
 
-#include <gtk/gtkaction.h>
+#include <gtk/gtk.h>
 
 G_BEGIN_DECLS
 
 
 G_BEGIN_DECLS
 
@@ -52,11 +52,16 @@ struct _EphyZoomActionClass
        void (* zoom_to_level)  (EphyZoomAction *action, float level);
 };
 
        void (* zoom_to_level)  (EphyZoomAction *action, float level);
 };
 
-GType  ephy_zoom_action_get_type       (void);
+GType  ephy_zoom_action_get_type           (void) G_GNUC_CONST;
 
 
-void   ephy_zoom_action_set_zoom_level (EphyZoomAction *action, float zoom);
+void   ephy_zoom_action_set_zoom_level     (EphyZoomAction *action,
+                                            float           zoom);
+float  ephy_zoom_action_get_zoom_level     (EphyZoomAction *action);
 
 
-float  ephy_zoom_action_get_zoom_level (EphyZoomAction *action);
+void    ephy_zoom_action_set_min_zoom_level (EphyZoomAction *action,
+                                            float           zoom);
+void    ephy_zoom_action_set_max_zoom_level (EphyZoomAction *action,
+                                            float           zoom);
 
 G_END_DECLS
 
 
 G_END_DECLS