mirror of https://github.com/djcb/mu.git
* mug-query-bar.c: fix compile warning, add (c)-header
This commit is contained in:
parent
c8f869e041
commit
f9cc681163
|
@ -1,6 +1,22 @@
|
|||
/* mug-query-bar.c */
|
||||
/*
|
||||
** Copyright (C) 2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
**
|
||||
** This program is free software; you can redistribute it and/or modify it
|
||||
** under the terms of the GNU General Public License as published by the
|
||||
** Free Software Foundation; either version 3, or (at your option) any
|
||||
** later version.
|
||||
**
|
||||
** This program is distributed in the hope that it will be useful,
|
||||
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
** GNU General Public License for more details.
|
||||
**
|
||||
** You should have received a copy of the GNU General Public License
|
||||
** along with this program; if not, write to the Free Software Foundation,
|
||||
** Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
**
|
||||
*/
|
||||
|
||||
/* insert (c)/licensing information) */
|
||||
|
||||
#include "mug-query-bar.h"
|
||||
/* include other impl specific header files */
|
||||
|
@ -76,10 +92,6 @@ mug_query_bar_class_init (MugQueryBarClass * klass)
|
|||
static void
|
||||
on_entry_activated (GtkWidget * w, MugQueryBar * bar)
|
||||
{
|
||||
MugQueryBarPrivate *priv;
|
||||
|
||||
priv = MUG_QUERY_BAR_GET_PRIVATE (bar);
|
||||
|
||||
g_signal_emit (G_OBJECT (bar), signals[MUG_QUERY_CHANGED], 0,
|
||||
gtk_entry_get_text (GTK_ENTRY (w)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue