* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only <gtk/gtk.h> can be included directly."
-#endif
-
#ifndef __GTK_STOCK_H__
#define __GTK_STOCK_H__
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#include <gdk/gdk.h>
-#include <gtk/gtktypeutils.h> /* for GtkTranslateFunc */
G_BEGIN_DECLS
+/*
+ * GtkTranslateFunc:
+ * @path: The id of the message. In #GtkActionGroup this will be a label
+ * or tooltip from a #GtkActionEntry.
+ * @func_data: user data passed in when registering the function
+ *
+ * The function used to translate messages in e.g. #GtkIconFactory
+ * and #GtkActionGroup.
+ *
+ * Returns: the translated message
+ */
+typedef gchar * (*GtkTranslateFunc) (const gchar *path,
+ gpointer func_data);
+
typedef struct _GtkStockItem GtkStockItem;
struct _GtkStockItem
* GTK_STOCK_BOLD:
*
* The "Bold" item.
- * <inlinegraphic fileref="gtk-bold.png" format="PNG"></inlinegraphic>
+ * <inlinegraphic fileref="format-text-bold.png" format="PNG"></inlinegraphic>
*/
#define GTK_STOCK_BOLD "gtk-bold"
* GTK_STOCK_CLEAR:
*
* The "Clear" item.
- * <inlinegraphic fileref="gtk-clear.png" format="PNG"></inlinegraphic>
+ * <inlinegraphic fileref="edit-clear.png" format="PNG"></inlinegraphic>
*/
#define GTK_STOCK_CLEAR "gtk-clear"
* GTK_STOCK_FILE:
*
* The "File" item.
- * <inlinegraphic fileref="document-x-generic.png" format="PNG"></inlinegraphic>
+ * <inlinegraphic fileref="text-x-generic.png" format="PNG"></inlinegraphic>
*
* Since 3.0, this item has a label, before it only had an icon.
*
* GTK_STOCK_INDENT:
*
* The "Indent" item.
- * <inlinegraphic fileref="gtk-indent-ltr.png" format="PNG"></inlinegraphic>
+ * <inlinegraphic fileref="format-indent-more-ltr.png" format="PNG"></inlinegraphic>
* RTL variant
- * <inlinegraphic fileref="gtk-indent-rtl.png" format="PNG"></inlinegraphic>
+ * <inlinegraphic fileref="format-indent-more-rtl.png" format="PNG"></inlinegraphic>
*
* Since: 2.4
*/