Add less useless descriptions. Fix an uninitialized variable and missing
authorNalin Dahyabhai <nalin@src.gnome.org>
Fri, 5 Apr 2002 05:58:37 +0000 (05:58 +0000)
committerNalin Dahyabhai <nalin@src.gnome.org>
Fri, 5 Apr 2002 05:58:37 +0000 (05:58 +0000)
* vte.spec: Add less useless descriptions.
* src/vte.c: Fix an uninitialized variable and missing declaration error.

src/vte.c
vte.spec

index b776269..17dd701 100644 (file)
--- a/src/vte.c
+++ b/src/vte.c
@@ -27,6 +27,7 @@
 #include <iconv.h>
 #include <langinfo.h>
 #include <math.h>
+#include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -5903,8 +5904,8 @@ vte_terminal_set_background_transparent(VteTerminal *terminal, gboolean setting)
        GdkAtom atom;
        g_return_if_fail(VTE_IS_TERMINAL(terminal));
        terminal->pvt->bg_transparent = setting;
+       window = gdk_get_default_root_window();
        if (setting) {
-               window = gdk_get_default_root_window();
                atom = gdk_atom_intern("_XROOTPMAP_ID", TRUE);
                terminal->pvt->bg_transparent_window = window;
                terminal->pvt->bg_transparent_atom = atom;
index 35f6775..48c6b4f 100644 (file)
--- a/vte.spec
+++ b/vte.spec
@@ -8,15 +8,17 @@ BuildRoot: %{_tmppath}/%{name}-root
 Source: %{name}-%{version}.tar.gz
 
 %description
-Blah.
+VTE is an experimental terminal emulator widget.  This package contains
+a sample application which uses the widget in a terminal window.
 
 %package devel
-Summary: Development files for use with vte.
+Summary: Files needed for developing applications which use vte.
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
 
 %description devel
-Blah
+VTE is an experimental terminal emulator widget.  This package contains
+the files needed for building applications using the widget.
 
 %prep
 %setup -q