diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-05-24 15:07:16 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-06-14 19:10:39 +0200 |
commit | 8a45cb576264565f5dbe991cb9b77cafb3919999 (patch) | |
tree | df7c85a0bbfe4599eed4fad69e1582d9d0bdc840 /gtk/gtkheaderbarprivate.h | |
parent | 419b25b64335f6940664dd8cd721c9a972260568 (diff) | |
download | gtk+-8a45cb576264565f5dbe991cb9b77cafb3919999.tar.gz |
GtkHeaderBar: Make labels creation available privately
So it can be reused in subclasses
https://bugzilla.gnome.org/show_bug.cgi?id=701345
Diffstat (limited to 'gtk/gtkheaderbarprivate.h')
-rw-r--r-- | gtk/gtkheaderbarprivate.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gtk/gtkheaderbarprivate.h b/gtk/gtkheaderbarprivate.h new file mode 100644 index 0000000000..bd751663eb --- /dev/null +++ b/gtk/gtkheaderbarprivate.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2013 Red Hat, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2 of the License, 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 Lesser General Public + * License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifndef __GTK_HEADER_BAR_PRIVATE_H__ +#define __GTK_HEADER_BAR_PRIVATE_H__ + +GtkWidget * _gtk_header_bar_create_title_box (const char *title, + const char *subtitle, + GtkWidget **ret_title_label, + GtkWidget **ret_subtitle_label); + +#endif /* __GTK_HEADER_BAR_PRIVATE_H__ */ |