gnome-terminal r2859 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2859 - trunk/src
- Date: Tue, 3 Jun 2008 19:30:30 +0000 (UTC)
Author: chpe
Date: Tue Jun 3 19:30:30 2008
New Revision: 2859
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2859&view=rev
Log:
Remove unnecessary static variable. (UTF-8 Test: ÃÃÃÃ)
Modified:
trunk/src/terminal.c
Modified: trunk/src/terminal.c
==============================================================================
--- trunk/src/terminal.c (original)
+++ trunk/src/terminal.c Tue Jun 3 19:30:30 2008
@@ -70,7 +70,6 @@
static gboolean initialization_complete = FALSE;
static GSList *pending_new_terminal_events = NULL;
-static gboolean use_factory;
typedef struct
{
@@ -1178,8 +1177,7 @@
option_parsing_results_apply_directory_defaults (parsing_results);
- use_factory = parsing_results->use_factory;
- if (use_factory)
+ if (parsing_results->use_factory)
{
char *cwd;
@@ -1216,7 +1214,7 @@
g_assert (parsing_results->post_execute_args == NULL);
- terminal_app_initialize (use_factory);
+ terminal_app_initialize (parsing_results->use_factory);
g_signal_connect (terminal_app_get (), "quit", G_CALLBACK (gtk_main_quit), NULL);
new_terminal_with_options (terminal_app_get (), parsing_results);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]