/usr/include/gthumb-2.14/gthumb/gtk-utils.h is in gthumb-dev 3:2.14.3-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* File-Roller
*
* Copyright (C) 2001-2008 Free Software Foundation, Inc.
*
* 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 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GTK_UTILS_H
#define GTK_UTILS_H
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
GtkWidget * _gtk_button_new_from_stock_with_text (const char *stock_id,
const char *text);
GtkWidget* _gtk_message_dialog_new (GtkWindow *parent,
GtkDialogFlags flags,
const char *stock_id,
const char *message,
const char *secondary_message,
const char *first_button_text,
...);
GtkWidget*
_gtk_message_dialog_with_checkbutton_new (GtkWindow *parent,
GtkDialogFlags flags,
const char *stock_id,
const char *message,
const char *secondary_message,
const char *gconf_key,
const char *check_button_label,
const char *first_button_text,
...);
GtkWidget* _gtk_yesno_dialog_new (GtkWindow *parent,
GtkDialogFlags flags,
const char *message,
const char *no_button_text,
const char *yes_button_text);
GtkWidget*
_gtk_yesno_dialog_with_checkbutton_new (GtkWindow *parent,
GtkDialogFlags flags,
const char *message,
const char *no_button_text,
const char *yes_button_text,
const char *check_button_label,
const char *gconf_key);
void
_gtk_error_dialog_from_gerror_run (GtkWindow *parent,
const char *title,
GError *gerror);
void
_gtk_error_dialog_from_gerror_show (GtkWindow *parent,
const char *title,
GError *gerror);
void _gtk_error_dialog_run (GtkWindow *parent,
const gchar *format,
...) G_GNUC_PRINTF (2, 3);
void _gtk_error_dialog_show (GtkWindow *parent,
const char *title,
const char *format,
...) G_GNUC_PRINTF (3, 4);
void _gtk_info_dialog_run (GtkWindow *parent,
const gchar *format,
...) G_GNUC_PRINTF (2, 3);
GdkPixbuf * _g_icon_get_pixbuf (GIcon *icon,
int size,
GtkIconTheme *icon_theme);
GdkPixbuf * get_mime_type_pixbuf (const char *mime_type,
int icon_size,
GtkIconTheme *icon_theme);
int _gtk_icon_get_pixel_size (GtkWidget *widget,
GtkIconSize size);
void show_help_dialog (GtkWindow *parent,
const char *section);
void _gtk_container_remove_children
(GtkContainer *container,
gpointer start_after_this,
gpointer stop_before_this);
int _gtk_container_get_pos (GtkContainer *container,
GtkWidget *child);
guint _gtk_container_get_n_children (GtkContainer *container);
GtkBuilder *
_gtk_builder_new_from_file (const char *filename,
const char *extension);
GtkWidget *
_gtk_builder_get_widget (GtkBuilder *builder,
const char *name);
GtkWidget * _gtk_combo_box_new_with_texts (const char *first_text,
...);
void _gtk_combo_box_append_texts (GtkComboBoxText *combo_box,
const char *first_text,
...);
GtkWidget * _gtk_image_new_from_xpm_data (char *xpm_data[]);
GtkWidget * _gtk_image_new_from_inline (const guint8 *data);
void _gtk_widget_get_screen_size (GtkWidget *widget,
int *width,
int *height);
void _gtk_tree_path_list_free (GList *list);
int _gtk_paned_get_position2 (GtkPaned *paned);
void _gtk_paned_set_position2 (GtkPaned *paned,
int pos);
void _g_launch_command (GtkWidget *parent,
const char *command,
const char *name,
GList *files);
void _gtk_window_resize_to_fit_screen_height
(GtkWidget *window,
int default_width);
void _gtk_info_bar_clear_action_area (GtkInfoBar *info_bar);
GdkDragAction _gtk_menu_ask_drag_drop_action (GtkWidget *widget,
GdkDragAction actions,
guint32 activate_time);
GtkAdjustment * gimp_scale_entry_new (GtkWidget *parent_box,
GtkLabel *label,
float value,
float lower,
float upper,
float step_increment,
float page_increment,
int digits);
G_END_DECLS
#endif
|