Logo Search packages:      
Sourcecode: efax-gtk version File versions

gtk_icon_info_handle.h

/* Copyright (C) 2004 Chris Vine

This program is distributed under the General Public Licence, version 2.
For particulars of this and relevant disclaimers see the file
COPYING distributed with the source files.

*/

#ifndef GTK_ICON_INFO_HANDLE_H
#define GTK_ICON_INFO_HANDLE_H

#include <gtk/gtkicontheme.h>
#include "shared_handle.h"

class Gtk_icon_info_free {
public:
  void operator()(GtkIconInfo* obj_p) {
    if (obj_p) {
      gtk_icon_info_free(obj_p);
    }
  }
};

typedef Scoped_handle<GtkIconInfo*, Gtk_icon_info_free> Gtk_icon_info_scoped_handle;

#endif

Generated by  Doxygen 1.6.0   Back to index