vte r2238 - in trunk: . src



Author: behdad
Date: Mon Dec  1 01:13:00 2008
New Revision: 2238
URL: http://svn.gnome.org/viewvc/vte?rev=2238&view=rev

Log:
2008-11-30  Behdad Esfahbod  <behdad gnome org>

        * src/vteseq.c (vte_terminal_beep): Move helper function out of the 
        way.



Modified:
   trunk/ChangeLog
   trunk/src/vteseq.c

Modified: trunk/src/vteseq.c
==============================================================================
--- trunk/src/vteseq.c	(original)
+++ trunk/src/vteseq.c	Mon Dec  1 01:13:00 2008
@@ -190,6 +190,16 @@
 	g_signal_emit_by_name(terminal, "resize-window", width, height);
 }
 
+static void
+vte_terminal_beep(VteTerminal *terminal)
+{
+	GdkDisplay *display;
+
+	g_assert(VTE_IS_TERMINAL(terminal));
+	display = gtk_widget_get_display(&terminal->widget);
+	gdk_display_beep(display);
+}
+
 
 /* Insert a blank line at an arbitrary position. */
 static void
@@ -244,6 +254,7 @@
 	for (i = 0; c[i] != 0; i++) ;
 	return i;
 }
+
 /* Call another function, offsetting any long arguments by the given
  * increment value. */
 static gboolean
@@ -947,16 +958,6 @@
 	return FALSE;
 }
 
-static void
-vte_terminal_beep(VteTerminal *terminal)
-{
-	GdkDisplay *display;
-
-	g_assert(VTE_IS_TERMINAL(terminal));
-	display = gtk_widget_get_display(&terminal->widget);
-	gdk_display_beep(display);
-}
-
 /* Beep. */
 static gboolean
 vte_sequence_handler_bl(VteTerminal *terminal,



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