* mug-query-bar.c: fix compile warning, add (c)-header

This commit is contained in:
Dirk-Jan C. Binnema 2011-09-30 08:31:23 +03:00
parent c8f869e041
commit f9cc681163
1 changed files with 18 additions and 6 deletions

View File

@ -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)));
}