GTK: rename diffPlugin to diffItem

This commit is contained in:
Julian Ospald 2016-06-08 18:37:01 +02:00
parent a9238ab3d1
commit 841757857a
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -102,7 +102,7 @@ insertPos = 4
-- part the callback. -- part the callback.
-- Plugins are added in order of this list. -- Plugins are added in order of this list.
myplugins :: [(IO MenuItem, [Item] -> MyGUI -> MyView -> IO ())] myplugins :: [(IO MenuItem, [Item] -> MyGUI -> MyView -> IO ())]
myplugins = [(diffPlugin, diffCallback) myplugins = [(diffItem, diffCallback)
] ]
@ -113,8 +113,8 @@ myplugins = [(diffPlugin, diffCallback)
diffPlugin :: IO MenuItem diffItem :: IO MenuItem
diffPlugin = menuItemNewWithLabel "diff" diffItem = menuItemNewWithLabel "diff"
diffCallback :: [Item] -> MyGUI -> MyView -> IO () diffCallback :: [Item] -> MyGUI -> MyView -> IO ()
diffCallback items _ _ = void $ diffCallback items _ _ = void $