aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVic Fryzel <vicfryzel@gmail.com>2010-07-18 12:21:28 -0400
committerVic Fryzel <vicfryzel@gmail.com>2010-07-18 12:21:28 -0400
commitfaf8188298a92d44f8bdbc3541015461ea7d0fe2 (patch)
treed827412cb27f6b14c67228817b61f0d22aacd4d3
parent184f01bb7e7f0292d292dad188f694c8f535ee69 (diff)
Removing some old licensing stuff, everything is now GPLv3. Removing an unused method from svte.c
-rw-r--r--LICENSE35
-rw-r--r--svte.c20
2 files changed, 0 insertions, 55 deletions
diff --git a/LICENSE b/LICENSE
index bfc1c54..94a9ed0 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,36 +1,3 @@
-svte is under GPLv3 and also includes documents licensed under MIT/X.
-
-both licenses are provided here and are also available online.
-
-
-MIT/X Consortium License
-
-© 2009 Enno Boland <g s01 de>
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the "Software"),
-to deal in the Software without restriction, including without limitation
-the rights to use, copy, modify, merge, publish, distribute, sublicense,
-and/or sell copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-DEALINGS IN THE SOFTWARE.
-
-(For Makefile and config.mk barrowed from Suckless Projects)
-
-
-
-
-
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
@@ -705,5 +672,3 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
-
-(for all documents and code written by us :D )
diff --git a/svte.c b/svte.c
index 2f50173..83aca0e 100644
--- a/svte.c
+++ b/svte.c
@@ -40,8 +40,6 @@ typedef struct term {
static void quit();
gboolean key_press_cb(GtkWidget *widget, GdkEventKey *event);
-gboolean button_press_cb(GtkWidget *widget, GdkEventButton *event,
- struct term *t);
static void tab_close();
static void tab_title();
static void tab_geometry_hints();
@@ -124,20 +122,6 @@ gboolean key_press_cb(GtkWidget *widget, GdkEventKey *event) {
}
-gboolean button_press_cb(GtkWidget *widget, GdkEventButton *event, struct term *t) {
- puts("LOL");
-/*
- glong column, row;
- gchar *match;
- match = vte_terminal_match_check(VTE_TERMINAL(t->vte), column, row, NULL);
- printf("%d , %d", column, row);
- printf("LOL");
- puts(match);
- return TRUE;
-*/
-}
-
-
static void tab_close() {
gint page = gtk_notebook_get_current_page(GTK_NOTEBOOK(svte.notebook));
struct term *t;
@@ -158,7 +142,6 @@ static void tab_close() {
static void tab_geometry_hints(term *t) {
- // borrowed from sakura, but using non deprecated code patch by me :)
// I dont need to call this every time, since the char width only changes
// once, maybe I'll make hints and border global and reuse them
GdkGeometry hints;
@@ -230,8 +213,6 @@ static void tab_new() {
(GtkNotebook*)svte.notebook, index)), term_data_id, t, NULL);
g_signal_connect(t->vte, "child-exited", G_CALLBACK(tab_close), NULL);
g_signal_connect(t->vte, "window-title-changed", G_CALLBACK(tab_title), t);
- g_signal_connect(svte.win, "button-press-event", G_CALLBACK(button_press_cb),
- t);
vte_terminal_set_background_transparent(VTE_TERMINAL(t->vte),
config->transparent_bg);
vte_terminal_set_allow_bold(VTE_TERMINAL(t->vte), config->bold);
@@ -245,7 +226,6 @@ static void tab_new() {
vte_terminal_match_set_cursor_type(VTE_TERMINAL(t->vte), *tmp,
GDK_HAND2);
g_free(tmp);
- // borrowed from sakura
vte_terminal_set_scrollback_lines(VTE_TERMINAL(t->vte),
config->num_scrollback_lines);
vte_terminal_set_mouse_autohide(VTE_TERMINAL(t->vte), TRUE);