From b660b965bcb679e53cc89e7b8903190d2d162ff6 Mon Sep 17 00:00:00 2001 From: neoraider Date: Thu, 4 Oct 2007 23:38:05 +0000 Subject: zoomedit: Gro?e Teile der GUI in Klassen gekapselt. --- ui.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ui.cpp') diff --git a/ui.cpp b/ui.cpp index d3d0014..3ed249a 100644 --- a/ui.cpp +++ b/ui.cpp @@ -1,6 +1,5 @@ #include "ui.h" #include "draw.h" -#include "window.h" #include #include @@ -27,12 +26,12 @@ static const gchar *uiData = static void handleAction(GtkAction *action, gpointer user_data) { - const gchar* name = gtk_action_get_name(action); + //const gchar* name = gtk_action_get_name(action); - if(!strcmp(name, "zoomIn")) + /*if(!strcmp(name, "zoomIn")) zoomInCentered(1.2f); else if(!strcmp(name, "zoomOut")) - zoomOutCentered(1.2f); + zoomOutCentered(1.2f);*/ } static GtkActionGroup *createActions() { -- cgit v1.2.3