Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: Frank Lanitz frank@frank.uvena.de Date: Tue, 19 Jun 2012 20:43:58 Commit: d842c10c84c0d5c160fe7d759a0adb9e97fd02a3 https://github.com/geany/geany-plugins/commit/d842c10c84c0d5c160fe7d759a0adb...
Log Message: ----------- GProject: Removing unused code
Modified Paths: -------------- gproject/src/gproject-sidebar.c gproject/src/gproject-utils.c
Modified: gproject/src/gproject-sidebar.c 6 files changed, 0 insertions(+), 6 deletions(-) =================================================================== @@ -659,8 +659,6 @@ void gprj_sidebar_find_file_in_active() static gboolean on_button_release(G_GNUC_UNUSED GtkWidget * widget, GdkEventButton * event, G_GNUC_UNUSED gpointer user_data) { -// GeanyDocument *doc; - if (event->button == 3) { GtkTreeSelection *treesel; @@ -679,10 +677,6 @@ static gboolean on_button_release(G_GNUC_UNUSED GtkWidget * widget, GdkEventButt event->button, event->time); }
-// doc = document_get_current(); -// if (doc) -// gtk_widget_grab_focus(GTK_WIDGET(doc->editor->sci)); - return FALSE; }
Modified: gproject/src/gproject-utils.c 4 files changed, 0 insertions(+), 4 deletions(-) =================================================================== @@ -139,7 +139,6 @@ void open_file(gchar *utf8_name)
if (!doc) { -// doc = document_open_file(name, FALSE, NULL, NULL); document_open_file(name, FALSE, NULL, NULL); } else @@ -153,9 +152,6 @@ void open_file(gchar *utf8_name) gtk_notebook_set_current_page(notebook, page_num); }
-// if (doc) -// gtk_widget_grab_focus(GTK_WIDGET(doc->editor->sci)); - g_free(name); }
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
plugins-commits@lists.geany.org