[clutter-tutorial] Removed obsolete entry example



commit 82f5524a9433692184029635bd09b33821d8c6cf
Author: Johannes Schmid <jhs gnome org>
Date:   Mon May 4 09:24:19 2009 +0200

    Removed obsolete entry example
---
 ChangeLog                  |    7 +++++
 configure.ac               |    1 -
 examples/entry/Makefile.am |    7 -----
 examples/entry/main.c      |   56 --------------------------------------------
 4 files changed, 7 insertions(+), 64 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index adb6123..68e618d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-05-04  Johannes Schmid <jschmid openismus com>
+
+	* configure.in
+	* examples/entry/*
+	
+	Removed obsolete entry example
+
 2009-05-01  Murray Cumming  <murrayc murrayc com>
 
 	* docs/tutorial/clutter-tut.xml: Correct section IDs.
diff --git a/configure.ac b/configure.ac
index f5de84c..9062370 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,7 +102,6 @@ AC_OUTPUT([
     examples/custom_actor/Makefile
     examples/custom_container/Makefile
     examples/behaviour/Makefile
-    examples/entry/Makefile
     examples/animation/Makefile
     examples/full_example/Makefile
       examples/full_example/images/Makefile
diff --git a/examples/entry/Makefile.am b/examples/entry/Makefile.am
deleted file mode 100644
index f389d29..0000000
--- a/examples/entry/Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
-include $(top_srcdir)/examples/Makefile.am_fragment
-
-#Build the executable, but don't install it.
-noinst_PROGRAMS = example
-
-example_SOURCES = main.c
-
diff --git a/examples/entry/main.c b/examples/entry/main.c
deleted file mode 100644
index 60c8546..0000000
--- a/examples/entry/main.c
+++ /dev/null
@@ -1,56 +0,0 @@
-/* Copyright 2007 Openismus GmbH
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include <clutter/clutter.h>
-#include <stdlib.h>
-
-ClutterActor *entry = NULL;
-
-int main(int argc, char *argv[])
-{
-  ClutterColor stage_color = { 0x00, 0x00, 0x00, 0xff };
-  ClutterColor actor_color = { 0xff, 0xff, 0xcc, 0xff };
-
-  clutter_init (&argc, &argv);
-
-  /* Get the stage and set its size and color: */
-  ClutterActor *stage = clutter_stage_get_default ();
-  clutter_actor_set_size (stage, 600, 200);
-  clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color);
-
-  /* Add an entry to the stage: */
-  entry = clutter_text_new ();
-  clutter_text_set_color (CLUTTER_TEXT (entry), &actor_color);
-  clutter_text_set_text (CLUTTER_TEXT (entry), 
-    "Wizard imps and sweat sock pimps, interstellar mongrel nymphs.");
-  clutter_text_set_font_name  (CLUTTER_TEXT (entry), "Sans 12");
-  clutter_actor_set_size (entry, 590, 100);
-  clutter_actor_set_position (entry, 5, 5);
-  clutter_container_add_actor (CLUTTER_CONTAINER (stage), entry);
-  clutter_actor_show (entry);
-
-  /* Set focus to handle key presses on the stage: */
-  clutter_stage_set_key_focus (CLUTTER_STAGE (stage), entry);
-
-  /* Show the stage: */
-  clutter_actor_show (stage);
-
-  /* Start the main loop, so we can respond to events: */
-  clutter_main ();
-
-  return EXIT_SUCCESS;
-
-}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]