Fix whitespace

This commit is contained in:
Alexander Kojevnikov 2011-03-18 15:51:09 +08:00
parent c32a645954
commit 3a2eeeaf01
2 changed files with 9 additions and 9 deletions

View File

@ -24,17 +24,17 @@ using Gtk;
namespace Spek {
public class MessageBar : HBox {
private Label label;
private Gtk.Window win;
private Gtk.Window win;
public MessageBar (string message) {
homogeneous = false;
spacing = 0;
border_width = 6;
win = new Gtk.Window (WindowType.POPUP);
win.name = "gtk-tooltips";
win.ensure_style ();
win.style_set.connect (() => style = win.style);
win = new Gtk.Window (WindowType.POPUP);
win.name = "gtk-tooltips";
win.ensure_style ();
win.style_set.connect (() => style = win.style);
label = new Label (null);
label.use_markup = true;

View File

@ -65,11 +65,11 @@ void spek_platform_show_uri (const gchar *uri) {
#else
#ifdef G_OS_DARWIN
/* it doesn't work on OS X too */
CFStringRef str = NULL;
CFURLRef url = NULL;
CFStringRef str = NULL;
CFURLRef url = NULL;
str = CFStringCreateWithCString (NULL, uri, kCFStringEncodingASCII);
url = CFURLCreateWithString (NULL, str, NULL);
str = CFStringCreateWithCString (NULL, uri, kCFStringEncodingASCII);
url = CFURLCreateWithString (NULL, str, NULL);
LSOpenCFURLRef (url, NULL);
CFRelease (url);
CFRelease (str);