/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ #include #include #include #include #include #include "e-note.h" void text_changed (GtkWidget *widget, gpointer data) { g_print ("Text changed!\n"); } gint main (gint argc, gchar **argv) { GtkWidget *note; gnome_init ("NotesTest", "0.0.1", argc, argv); note = e_note_new (); e_note_set_text (E_NOTE (note), "This is a text note widget"); gtk_signal_connect (GTK_OBJECT (note), "changed", GTK_SIGNAL_FUNC (text_changed), NULL); gtk_widget_show (note); gtk_main (); return 0; } w.lant.com.tw/~lantw44/git/freebsd-ports-gnome' title='freebsd-ports-gnome Git repository'/>
aboutsummaryrefslogtreecommitdiffstats
blob: 3118aa0e6afdd54442b59c5f12b9136ac8ecbaa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# New ports collection makefile for:    gsbench
# Date created:         1 Dec 2006
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   gsbench
PORTVERSION=    0.5.2
PORTREVISION=   2
CATEGORIES= benchmarks gnustep
MASTER_SITES=   http://www.nice.ch/~phip/
DISTNAME=   GSBench-${PORTVERSION}

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    Benchmarking tool for GNUstep

USE_GNUSTEP=    yes
USE_GNUSTEP_BACK=   yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes

WRKSRC=     ${WRKDIR}/GSBench

.include <bsd.port.mk>