Changeset 20597

Show
Ignore:
Timestamp:
10/03/08 14:36:47 (3 months ago)
Author:
mattn
Message:

updated code with latest lua-gtk.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/lua/misc/memcachedclient.lua

    r19880 r20597  
    11#! /usr/bin/env lua 
    22 
    3 require "gtk2" 
     3require "gtk" 
    44require "Memcached" 
    55require 'string' 
     
    113113vb:pack_start(scroll, true, true, 0) 
    114114 
    115 textview:modify_font(gtk.call("pango_font_description_from_string", "monospace")) 
     115textview:modify_font(gtk.pango_font_description_from_string('monospace')) 
    116116buffer:create_tag("command", "foreground", "blue", nil) 
    117117buffer:create_tag("data", "foreground", "black", nil)